/*!*******************************************************************
 * ST-FRAMEWORK.CSS - SoulsInfoTech Dimensional UI Framework
 * 
 * Copyright (c) 2025 Souls InfoTech. All rights reserved.
 * Author: SoulsInfoTech Development Team
 * Website: https://soulsinfotech.com
 * 
 * This software is the proprietary property of Souls InfoTech.
 * Unauthorized copying, modification, distribution, or use of this
 * software, via any medium, is strictly prohibited without prior
 * written permission from Souls InfoTech.
 * 
 * Licensed under proprietary license.
 * For licensing inquiries, contact: info@soulsinfotech.com
 * 
 * Description: Custom utility framework for SoulsInfoTech Dimensional UI,
 * providing responsive grid system, components, and utilities.
 * Based on modern CSS concepts, styled for futuristic interfaces.
 * 
 * Version: 1.0.0
 * Last Updated: 2025-11-28
 *******************************************************************!*/

/* ========== GLOBAL RESET & TYPOGRAPHY ========== */
:root {
    --bg-dark: #050505;
    --panel-bg: rgba(10, 10, 12, 0.7);
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(39, 247, 215, 0.3);
    --accent: #27F7D7;
    --secondary: #D80828;
    --text: #E0E0E0;
    --text-muted: #888;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    margin: 10px 0;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(39, 247, 215, 0.4);
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 20px 0;
}

/* ========== LAYOUT & GRID ========== */
.st-row:after,
.st-row-padding:after,
.st-cell-row:before,
.st-cell-row:after,
.st-clear:after,
.st-clear:before,
.st-bar:before,
.st-bar:after {
    content: "";
    display: table;
    clear: both;
}

.st-col,
.st-half,
.st-third,
.st-twothird,
.st-quarter,
.st-threequarter {
    float: left;
    width: 100%;
}

.st-col.s1 {
    width: 8.33333%;
}

.st-col.s2 {
    width: 16.66666%;
}

.st-col.s3 {
    width: 24.99999%;
}

.st-col.s4 {
    width: 33.33333%;
}

.st-col.s5 {
    width: 41.66666%;
}

.st-col.s6 {
    width: 49.99999%;
}

.st-col.s7 {
    width: 58.33333%;
}

.st-col.s8 {
    width: 66.66666%;
}

.st-col.s9 {
    width: 74.99999%;
}

.st-col.s10 {
    width: 83.33333%;
}

.st-col.s11 {
    width: 91.66666%;
}

.st-col.s12 {
    width: 99.99999%;
}

@media (min-width: 601px) {
    .st-col.m1 {
        width: 8.33333%;
    }

    .st-col.m2 {
        width: 16.66666%;
    }

    .st-col.m3,
    .st-quarter {
        width: 24.99999%;
    }

    .st-col.m4,
    .st-third {
        width: 33.33333%;
    }

    .st-col.m5 {
        width: 41.66666%;
    }

    .st-col.m6,
    .st-half {
        width: 49.99999%;
    }

    .st-col.m7 {
        width: 58.33333%;
    }

    .st-col.m8,
    .st-twothird {
        width: 66.66666%;
    }

    .st-col.m9,
    .st-threequarter {
        width: 74.99999%;
    }

    .st-col.m10 {
        width: 83.33333%;
    }

    .st-col.m11 {
        width: 91.66666%;
    }

    .st-col.m12 {
        width: 99.99999%;
    }
}

@media (min-width: 993px) {
    .st-col.l1 {
        width: 8.33333%;
    }

    .st-col.l2 {
        width: 16.66666%;
    }

    .st-col.l3 {
        width: 24.99999%;
    }

    .st-col.l4 {
        width: 33.33333%;
    }

    .st-col.l5 {
        width: 41.66666%;
    }

    .st-col.l6 {
        width: 49.99999%;
    }

    .st-col.l7 {
        width: 58.33333%;
    }

    .st-col.l8 {
        width: 66.66666%;
    }

    .st-col.l9 {
        width: 74.99999%;
    }

    .st-col.l10 {
        width: 83.33333%;
    }

    .st-col.l11 {
        width: 91.66666%;
    }

    .st-col.l12 {
        width: 99.99999%;
    }
}

.st-content {
    max-width: 980px;
    margin: auto;
}

.st-rest {
    overflow: hidden;
}

.st-cell-row {
    display: table;
    width: 100%;
}

.st-cell {
    display: table-cell;
}

.st-cell-top {
    vertical-align: top;
}

.st-cell-middle {
    vertical-align: middle;
}

.st-cell-bottom {
    vertical-align: bottom;
}

.st-hide {
    display: none !important;
}

.st-show-block,
.st-show {
    display: block !important;
}

.st-show-inline-block {
    display: inline-block !important;
}

@media (max-width: 600px) {
    .st-modal-content {
        margin: 0 10px;
        width: auto !important;
    }

    .st-modal {
        padding-top: 30px;
    }

    .st-hide-small {
        display: none !important;
    }

    .st-mobile {
        display: block;
        width: 100% !important;
    }

    .st-bar-item.st-mobile,
    .st-dropdown-hover.st-mobile,
    .st-dropdown-click.st-mobile {
        text-align: center;
    }
}

@media (max-width: 992px) and (min-width: 601px) {
    .st-hide-medium {
        display: none !important;
    }
}

@media (min-width: 993px) {
    .st-hide-large {
        display: none !important;
    }
}

/* ========== CONTAINERS & PANELS ========== */
.st-container {
    padding: 0.01em 16px;
}

.st-panel {
    padding: 0.01em 16px;
    margin-top: 16px;
    margin-bottom: 16px;
    background: var(--panel-bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(39, 247, 215, 0.1);
}

.st-card,
.st-card-2,
.st-card-4 {
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.st-card:hover {
    box-shadow: 0 0 20px rgba(39, 247, 215, 0.2);
    border-color: var(--accent);
}

/* ========== NAVIGATION & SIDEBAR ========== */
.st-sidebar {
    height: 100%;
    position: fixed !important;
    z-index: 1;
    overflow: auto;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.st-sidebar.st-bar-block {
    height: 100%;
    position: fixed !important;
    z-index: 1;
    overflow: auto;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.st-bar-block .st-bar-item {
    width: 100%;
    display: block;
    padding: 8px 16px;
    text-align: left;
    border: none;
    white-space: normal;
    float: none;
    outline: 0;
    transition: 0.3s;
}

.st-bar-block .st-bar-item:hover {
    background: rgba(39, 247, 215, 0.1);
    color: var(--accent);
    padding-left: 24px;
    /* Slide effect */
}

.st-bar {
    width: 100%;
    overflow: hidden;
}

.st-center .st-bar {
    display: inline-block;
    width: auto;
}

.st-bar .st-bar-item {
    padding: 8px 16px;
    float: left;
    width: auto;
    border: none;
    display: block;
    outline: 0;
}

.st-bar-item.st-button {
    white-space: normal;
}

.st-top,
.st-bottom {
    position: fixed;
    width: 100%;
    z-index: 1;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.st-top {
    top: 0;
}

.st-bottom {
    bottom: 0;
}

/* ========== BUTTONS & INPUTS ========== */
.st-btn,
.st-button {
    border: 1px solid var(--border);
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: transparent;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    font: inherit;
}

.st-btn:hover {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 0 15px var(--accent);
    border-color: var(--accent);
}

.st-input {
    padding: 8px;
    display: block;
    border: none;
    border-bottom: 1px solid var(--border);
    width: 100%;
    background: transparent;
    color: var(--text);
    transition: 0.3s;
}

.st-input:focus {
    outline: none;
    border-bottom-color: var(--accent);
    box-shadow: 0 4px 4px -4px var(--accent);
}

/* ========== UTILITIES ========== */
.st-center {
    text-align: center !important;
}

.st-text-left {
    text-align: left !important;
}

.st-text-center {
    text-align: center !important;
}

.st-text-right {
    text-align: right !important;
}

.st-text-justify {
    text-align: justify !important;
}

.st-left {
    float: left !important;
}

.st-right {
    float: right !important;
}

.st-justify {
    text-align: justify !important;
}

.st-padding-tiny {
    padding: 2px 4px !important;
}

.st-padding-small {
    padding: 4px 8px !important;
}

.st-padding {
    padding: 8px 16px !important;
}

.st-padding-large {
    padding: 12px 24px !important;
}

.st-padding-2 {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.st-padding-4 {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.st-padding-8 {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.st-padding-12 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.st-padding-16 {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.st-padding-24 {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.st-padding-32 {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}

.st-padding-48 {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
}

.st-padding-64 {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

.st-margin {
    margin: 16px !important;
}

.st-margin-top {
    margin-top: 16px !important;
}

.st-margin-bottom {
    margin-bottom: 16px !important;
}

.st-margin-left {
    margin-left: 16px !important;
}

.st-margin-right {
    margin-right: 16px !important;
}

.st-margin-2 {
    margin: 2px !important;
}

.st-margin-4 {
    margin: 4px !important;
}

.st-margin-8 {
    margin: 8px !important;
}

.st-margin-12 {
    margin: 12px !important;
}

.st-margin-16 {
    margin: 16px !important;
}

.st-margin-24 {
    margin: 24px !important;
}

.st-margin-32 {
    margin: 32px !important;
}

.st-margin-48 {
    margin: 48px !important;
}

.st-margin-64 {
    margin: 64px !important;
}

.st-margin-80 {
    margin: 80px !important;
}

.st-margin-96 {
    margin: 96px !important;
}

.st-margin-128 {
    margin: 128px !important;
}

.st-margin-160 {
    margin: 160px !important;
}

.st-margin-192 {
    margin: 192px !important;
}

.st-margin-256 {
    margin: 256px !important;
}

.st-margin-512 {
    margin: 512px !important;
}

.st-circle {
    border-radius: 50%;
    border: 2px solid var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.st-round,
.st-round-medium {
    border-radius: 4px;
}

.st-round-large {
    border-radius: 8px;
}

.st-round-xlarge {
    border-radius: 16px;
}

.st-opacity,
.st-hover-opacity:hover {
    opacity: 0.60;
}

.st-opacity-min {
    opacity: 0.75;
}

.st-opacity-max {
    opacity: 0.25;
}

/* ========== COLORS (Mapped to Theme) ========== */
.st-text-accent {
    color: var(--accent) !important;
}

.st-text-secondary {
    color: var(--secondary) !important;
}

.st-text-white {
    color: #fff !important;
}

.st-text-grey {
    color: var(--text-muted) !important;
}

.st-text-light-grey {
    color: var(--text) !important;
}

.st-black,
.st-hover-black:hover {
    color: var(--text) !important;
    background-color: var(--bg-dark) !important;
}

.st-grey,
.st-hover-grey:hover,
.st-gray,
.st-hover-gray:hover {
    color: #000 !important;
    background-color: var(--text-muted) !important;
}

.st-light-grey,
.st-hover-light-grey:hover,
.st-light-gray,
.st-hover-light-gray:hover {
    color: #000 !important;
    background-color: #f1f1f1 !important;
}

.st-dark-grey,
.st-hover-dark-grey:hover,
.st-dark-gray,
.st-hover-dark-gray:hover {
    color: #fff !important;
    background-color: #616161 !important;
}

.st-white,
.st-hover-white:hover {
    color: #000 !important;
    background-color: #fff !important;
}

/* ========== FONT SIZES ========== */
.st-tiny {
    font-size: 10px !important;
}

.st-small {
    font-size: 12px !important;
}

.st-medium {
    font-size: 15px !important;
}

.st-large {
    font-size: 18px !important;
}

.st-xlarge {
    font-size: 24px !important;
}

.st-xxlarge {
    font-size: 36px !important;
}

.st-xxxlarge {
    font-size: 48px !important;
}

.st-jumbo {
    font-size: 64px !important;
}

/* ========== RESPONSIVE FONT SIZES ========== */
/* Mobile (up to 600px) */
@media (max-width: 600px) {
    .st-large {
        font-size: 16px !important;
    }

    .st-xlarge {
        font-size: 20px !important;
    }

    .st-xxlarge {
        font-size: 28px !important;
    }

    .st-xxxlarge {
        font-size: 36px !important;
    }

    .st-jumbo {
        font-size: 42px !important;
    }

    h1 {
        font-size: 28px !important;
    }

    h2 {
        font-size: 22px !important;
    }

    h3 {
        font-size: 18px !important;
    }

    h4 {
        font-size: 16px !important;
    }

    /* Adjust padding for mobile */
    .st-padding-64 {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    .st-padding-32 {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    /* Adjust card padding */
    .st-card.st-padding-16 {
        padding: 12px !important;
    }
}

/* Tablet (601px to 992px) */
@media (max-width: 992px) and (min-width: 601px) {
    .st-large {
        font-size: 17px !important;
    }

    .st-xlarge {
        font-size: 22px !important;
    }

    .st-xxlarge {
        font-size: 32px !important;
    }

    .st-xxxlarge {
        font-size: 42px !important;
    }

    .st-jumbo {
        font-size: 52px !important;
    }

    h1 {
        font-size: 32px !important;
    }

    h2 {
        font-size: 24px !important;
    }

    h3 {
        font-size: 20px !important;
    }

    h4 {
        font-size: 18px !important;
    }

    /* Adjust padding for tablet */
    .st-padding-64 {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
}

/* Desktop (993px and up) - Default sizes already set above */


/* ========== ANIMATIONS ========== */
.st-animate-top {
    position: relative;
    animation: animatetop 0.4s;
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.st-animate-bottom {
    position: relative;
    animation: animatebottom 0.4s;
}

@keyframes animatebottom {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

.st-animate-zoom {
    animation: animatezoom 0.6s;
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.st-animate-opacity {
    animation: opac 0.8s;
}

@keyframes opac {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.st-spin {
    animation: w3-spin 2s infinite linear;
}

@keyframes w3-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(359deg);
    }
}

/* ========== ADDITIONAL ADMIN UTILITIES ========== */
/* Color Classes */
.st-blue {
    color: #fff !important;
    background-color: var(--accent) !important;
}

.st-green {
    color: #fff !important;
    background-color: #4CAF50 !important;
}

.st-orange {
    color: #fff !important;
    background-color: #ff9800 !important;
}

.st-red {
    color: #fff !important;
    background-color: var(--secondary) !important;
}

.st-light-blue {
    color: #000 !important;
    background-color: rgba(39, 247, 215, 0.2) !important;
}

/* Tags & Badges */
.st-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: bold;
    margin: 2px;
    border-radius: 3px;
    background: var(--glass);
    border: 1px solid var(--border);
}

/* Block & Display */
.st-block {
    display: block !important;
    width: 100%;
}

.st-display-container {
    position: relative;
}

.st-display-middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.st-margin-0 {
    margin: 0 !important;
}