:root {
    --dark: #1d1d1f;
    --primary: #1d1d1f;
    --secondary: #999;
    --white: #fff;
    --light: #f0f0f0;
    --orange: #e7510f;
    --brand-orange: #e7510f;
    --orange-10: #f8e3da;
    --orange-20: #f7dcd0;
    --orange-30: #f8d9cb;
    --orange-40: #f6c9b6;
    --orange-50: #fdb494;
    --orange-60: #f9a581;
    --orange-70: #f8966e;
    --orange-80: #cf7d5c;
    --orange-90: #c25d38;
    --gray: #333;
    --grey-80: #4a4a4c;
    --grey-70: #616163;
    --grey-60: #777779;
    --grey-50: #8d8d8e;
    --grey-40: #a5a5a5;
    --grey-30: #bcbcbc;
    --grey-20: #d2d2d2; 
    --grey-10: #e9e9e9;
    --thinking: #f8e3da;
    --thinking-border: #bb998b;
    --success-light: #d2f1de;
    --info-light: #bae7f2;
    --warning-light:#fee9df;
    --danger-light:#f2baca;
    --headings-color: #333;
    --body-color: #888;
    --link-color: #333;
    --link-hover-color:#999;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --accent-color: #e7510f;
    --accent-font-color: #FFFFFF;
    --text-orange: #e7510f;
    --body-color: #444;
    --success: #008000;
    --success-10:var(--success-light);
    --success-20:#d1f5de;
    --success-30:#99e2b4;
    --success-40:#3fb970;
    --success-50:#2e8555;
    --success-60:#205d3b;
    --success-70:#143d27;
    --success-80:#0a1d14;
    --success-90:#040e0a;
    --danger: #FF0000;
    --danger-10:var(--danger-light);
    --danger-20:#f8dcd0;
    --danger-30:#f6c9b6;
    --danger-40:#f2baca;
    --danger-50:#cf7d5c;
    --danger-60:#b25d38;
    --danger-70:#954d2e;
    --danger-80:#773e24;
    --danger-90:#592e1a;
    /* Border radius */
    --border-radius-small: 2px;
    --border-radius-medium: 4px;
    --border-radius-large: 8px;
    --border-radius-x-large: 12px;
    --border-radius-round: 50%;

    /* Spacing */
    --spacing-x-small: 4px;
    --spacing-small: 8px;
    --spacing-medium: 16px;
    --spacing-large: 24px;
    --spacing-x-large: 32px;
    --spacing-xx-large: 48px;

    /* Shadow */
    --shadow-none: none;
    --shadow-small: 0 1px 2px rgba(0,0,0,0.1);
    --shadow-medium: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-large: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-x-large: 0 8px 16px rgba(0,0,0,0.1);

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.25s ease-in-out;
    --transition-slow: 0.5s ease-in-out;

    /* Font settings */
    --font-family-primary: 'Zyntro', 'Roboto', 'Helvetica Neue', sans-serif;
    --font-family-secondary: Georgia, serif;
    --font-family-monospace: Consolas, Monaco, 'Courier New', monospace;

}
/* Base font settings */
/* Bold headings */
.container-fluid{
    padding: 0px 1.5rem;
}
.deep-padding{
    padding: 3rem;
}
.table td{
    padding: 1rem 1.5rem;
    vertical-align: bottom;
}
h1, h2, h3 {
    font-family: 'Zyntro', sans-serif;
    font-weight: 800;
    margin-top: 0;
    color: var(--secondary);
}

/* Semibold headings */
h4, h5, h6 {
    font-family: 'Zyntro', sans-serif;
    font-weight: 600;
    margin-top: 0;
    color: var(--secondary);
}

/* Heading sizes */
h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.25; }
h3 { font-size: 1.75rem; line-height: 1.3; }
h4 { font-size: 1.5rem; line-height: 1.35; }
h5 { font-size: 1.25rem; line-height: 1.4; }
h6 { font-size: 1rem; line-height: 1.4; }

.container {
    max-width: 1200px;
    padding: var(--spacing-x-large);
    margin: 0 auto;
  } 
  
  /* Form container */
  .form-container {
    background-color: var(--white);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-large);
    padding: var(--spacing-large);
    margin: var(--spacing-large) 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  .form-description {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: var(--spacing-large);
  }
  
  /* Form field */
  .form-field {
    margin-bottom: var(--spacing-large);
  }
  
  .form-label {
    display: block;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: var(--spacing-x-small);
  }
  label{
    margin-top: 1.5rem;
    margin-bottom: 0.3rem;
    color: var(--secondary);
    font-weight: bold;
  }
  .required-indicator {
    color: var(--danger);
    margin-left: var(--spacing-x-small);
  }
  
  .help-text {
    color: var(--gray-600);
    font-size: 0.85em;
    margin-top: var(--spacing-x-small);
  }
  
  .error-message {
    color: var(--danger);
    font-size: 0.85em;
    margin-top: var(--spacing-x-small);
    font-weight: 500;
    display: none; /* Show this with JS when there's an error */
  }
     
.text-white h5, p, h1, h2, h3, h4, li{
    color: var(--white);
}
.text-white p{
    color: var(--white);
}
.text-white h2{
    color: var(--white);
}
.text-white h3{
    color: var(--white);
}
.alert-mini{
    padding: 0.2rem 0.4rem;
    border-radius: 0.3rem;
    font-size: 13px;
    width: auto;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
}
.alert-danger{
    background-color: var(--danger-light);
}
.alert-info{
    background-color: var(--info-light);
}
.alert-warning{
    background-color: var(--orange-30);
    color: var(--orange-90) !important;
}
.alert-warning-dark{
    background-color: var(--orange-90);
    color: var(--orange-10) !important;
    border: solid 1px var(--orange-60);
}

.alert-success{
    background-color: var(--success-light);
}
.flag-icon{
    height: 16px;
    width: 16px;
    border-radius: 8px;
}
li{
    color:var(--secondary);
}
body {
    margin: 0;
    padding: 0;
    background: var(--white);
    font-family: 'Zyntro', sans-serif;
    color: var(--body-color);
}
h1,h2,h3,h4{
    margin-bottom: 5px;
    color: var(--secondary);
}
.head_button{
    float: right;
}
.font-normal{
    font-weight: normal !important;
}
.btn-light{
    border: solid 1px #ccc;
}
.btn-no-style{
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent !important;
    margin-left: 0.5rem !important;
}
.btn-no-style:hover{
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent !important;
    margin-left: 0.5rem !important;
}
.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 
.horizontal-line{
    border-top: solid 1px #ccc;
    margin: 1rem 0rem;
}
.btn-dark{
    background-color: var(--dark);
    color: var(--white)!important;
}
.btn-no-style{
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
}
.icon_shift{
    margin-top: 7px;
}
.dropdown-menu{
    border-radius: 5px !important;
    outline: none;
}
.dropdown-item-custom{
    font-size: 14.5px;
    color: var(--body-color);
    padding: 0.3rem 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex-direction: row;
}
.dropdown-item-custom:hover{
    text-decoration: none;
    background-color: var(--light);
    border-radius: 0.4rem;
}
.text-orange{
    color: var(--text-orange);
}
.text-orange-90{
    color: var(--orange-90);
}
.micro-button{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 0.5rem;
    opacity: 0.8;
    padding: 2px 4px;
    border-radius: 0.3rem;
    font-size: 13px;
    width: auto;
    min-width: 80px;
    max-width: 120px;
    cursor: pointer;
    background-color: var(--light);
    border: solid 1px #ccc;
}
.micro-button:hover{
    opacity: 1;
}
.alert{
    margin: 1.1rem 0rem;
}
.thinking{
    display: flex;
    width: 200px;
    justify-content: flex-start;
    gap: 1.2rem;
    background-color: var(--thinking);
    border: solid 1px var(--thinking-border);
    border-radius: 0.3rem;
    margin: 0.5rem 0rem;
    height: 30px;
    align-items: center;
    padding: 0px 8px;
    font-style: italic;
    color: var(--thinking-border);
}
.card{
    border-radius: 0.8rem;
    margin-bottom: 20px;
}
.row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap !important;
    margin-bottom: 0.8rem;
    row-gap: 1.2rem;
}
.row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
p, li, small{
    color: var(--secondary);
}
.card-flex{
    display:flex;
    align-items: center;
    flex-direction: row;
    padding: 1.5rem;
    min-height: 280px;
}
.card a{
    color: inherit;
    font-weight: 800;
    text-decoration: none;
}
.card a:hover{
    opacity: 0.8;
    text-decoration: none;
}
.blur-background{
    filter:blur(5px);
}
.page_top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}
.button-grid{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 0.8rem;
}
.button-grid-align-start{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 0.8rem;
}
.button-bar{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    column-gap: 0.4rem;
    border-radius: 0.4rem;
    background-color: var(--light);
    border: solid 1px var(--light);
    padding: 2px;
    height: 45px;
}
.button-bar > li{
    list-style: none;
    margin: 0;
    padding:0;
    opacity: 0.8; 
    cursor: pointer;
    padding: 5px 8px 3px 8px;
    border-radius: 0.4rem;
}
.button-bar > li:hover{
    opacity: 1;
    background-color: var(--white);
}
.button-bar >li.active{
    background-color: var(--orange);
    color: var(--white);
}

.button-bar > li.active .icon-small{
    background-color: #fff !important;
}

.divider-vertical{
    width: 1px;
    height: 25px;
    border-right: solid 1px #ccc; 
    padding-left: -25px;
}
.nav_panel_bundle{
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 1.2rem;
}
.nav-container {
    display: flex;
    height: 100vh;
    position: fixed;
    left:0;
}

.vertical-nav {
    width: 80px;
    background: var(--dark);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: width 0.3s ease;
}

.nav-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.nav-item {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
    background-color: #000;
    border: 1px solid var(--gray);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-item:hover {
    border-color: var(--orange);
}

.nav-item.active {
    background: var(--orange);
    border-color: var(--orange);
}

.nav-item span {
    color: var(--white);
}

.nav-panel {
    position: absolute;
    left: 80px;
    top: 0;
    background: var(--light);
    width: 260px;
    height: 100vh;
    padding: 1rem;
    border-right: 1px solid var(--light);
    display: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateX(0);
    opacity: 1;
    z-index: 999;
}

.nav-panel.hiding {
    transform: translateX(-20px);
    opacity: 0;
}

.nav-panel.active {
    display: block;
}

.nav-panel-item {
    padding: 0.75rem 1rem;
    color: var(--dark);
    text-decoration: none;
    display: block;
    border-radius: 8px;
    transition: background 0.2s ease;
    font-size: 14px;
}

.nav-panel-item:hover {
    background: var(--white);
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
}
.nav-panel-item.active{
    background: var(--secondary);
    color: var(--light);
    text-decoration: none;
    font-size: 14px;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 70vw;
    max-height: 80vh;
    overflow-y: auto;
}

.more-menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: start;
}

.more-menu-item {
    position: relative;
    padding: 1rem;
}

.more-menu-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    border: 1px solid var(--gray);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.more-menu-icon:hover {
    border-color: var(--orange);
}

.more-menu-label {
    font-size: 12px;
    color: var(--dark);
    text-align: center;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.more-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}

.more-menu-item:hover .more-menu-dropdown {
    display: block;
}

.search-modal .modal-content {
    padding: 1rem;
}

.search-input {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: var(--light);
    font-size: 1rem;
    outline: none;
}

button:focus{
    outline: none;
}
.btn:focus{
    outline: none;
}
.more-menu, .account-menu {
    position: absolute;
    bottom: 1rem;
}

.language-dropdown {
    padding: 0.25rem;
    min-width: 2.5rem !important;
    width: 3rem !important;
}

.language-dropdown .dropdown-item {
    border-radius: 4px;
    padding: 0.25rem;
    text-align: center;
}

.language-dropdown .dropdown-item:hover {
    background-color: var(--light);
}

.language-dropdown .flag-icon {
    width: 20px;
    height: 20px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    column-gap: 0.5rem;
}
.account-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    right: 100%;
    bottom: 0;
    background: var(--white);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 8px;
}

.dropdown-item:hover {
    background: var(--light);
}
.tab-heading{
    font-size: 14px;
    font-weight: 800;
    color: var(--gray);
    opacity: 0.8;

}
.dropdown-item span {
    color: var(--dark);
}
.page-wrapper{
    margin-left: 345px;
    transition: margin-left 0.3s ease;
    padding-top: 1.5rem;
}

.page-wrapper.collapsed {
    margin-left: 90px;
}
.hor_title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    flex-direction: row;
}
.spacer-ma{
    height: 3.5rem;
}
.spacer-rg{
    height: 1.2rem;
}
.spacer-sm{
    height: 0.8rem;
}
.spacer-lg{
    height: 2rem;
}
.footer{
    position: relative;
    bottom: 0;
    padding: 5px 20px;
    text-align: center;
}
.breadcrumb{
    display: flex;
    flex-wrap: wrap;
    /* padding: .75rem 0rem; */
    list-style: none;
    background: none;
}
a:focus{
    outline: none;
}
.btn:focus{
    outline: none;
}
button:focus, button:active{
    outline: none;
}
input:focus, input:active{
    outline: none;
}
.form-control:focus{
    outline: none;
}
textarea:focus{
    outline: none;
}
.bg-black{
    background-color: #000;
}
.bg-orange-10{
    background-color: var(--orange-10);
}
.bg-orange-20{
    background-color: var(--orange-20);
}
.bg-orange{
    background-color: var(--orange);
    color: var(--white);
}
.bg-success-20{
    background-color: var(--success-20);
}
.bg-danger-20{
    background-color: var(--danger-20);
}
.bg-warning-20{
    background-color: var(--warning-20);
}
/* Custom Select Styling */
select.form-select,
select.form-control {
/* Base styles */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.1rem 2.25rem 0.1rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

/* Focus state */
    select.form-select:focus,
    select.form-control:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Hover state */
    select.form-select:hover,
    select.form-control:hover {
    border-color: #b3b3b3;
}

/* Disabled state */
    select.form-select:disabled,
    select.form-control:disabled {
    background-color: #e9ecef;
    opacity: 1;
    cursor: not-allowed;
}

/* Remove default arrow in IE */
    select::-ms-expand {
    display: none;
}

/* Dropdown styling for WebKit browsers (Chrome, Safari, newer Edge) */
    select.form-select option,
    select.form-control option {
    padding: 10px 15px;
    background-color: #fff;
    color: #212529;
    font-size: 1rem;
}

/* Hover state for options in WebKit */
    select.form-select option:hover,
    select.form-control option:hover,
    select.form-select option:checked,
    select.form-control option:checked {
    background-color: #f8f9fa;
    color: #212529;
}

/* For Firefox */
select.form-select,
select.form-control {
    /* Firefox-specific styles */
    scrollbar-width: thin;
    scrollbar-color: #ced4da #f8f9fa;
}

/* Custom scrollbar for WebKit browsers */
    select.form-select::-webkit-scrollbar,
    select.form-control::-webkit-scrollbar {
    width: 8px;
}

    select.form-select::-webkit-scrollbar-track,
    select.form-control::-webkit-scrollbar-track {
    background: #f8f9fa;
}

    select.form-select::-webkit-scrollbar-thumb,
    select.form-control::-webkit-scrollbar-thumb {
    background-color: #ced4da;
    border-radius: 4px;
}
.top_nav{
    height: 60px;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content:space-between;
    align-items: center;
    padding: 10px 45px;
}
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.lazy-load-placeholder {
    position: relative;
    overflow: hidden;
    background: var(--grey-20);
}

.lazy-load-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite linear;
}

.right_container{
    display: flex;
    gap: 1.8rem;
    padding-top:7px;
}
.session_nav{
    width: 95.5vw;
    padding:10px;
    margin: 0 auto;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    height: 53px;
    border: solid 1px var(--grey-20);
    background-color: var(--light);
    border-top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}
.breadcrumb{
    margin-top: 20px;
    padding: 0px;
    font-size: 15px;
    color: var(--grey-40);
}
.breadcrumb-active{
    color: var(--orange);
    
}
.breadcrumb-icon{
    margin-top: 0px;
    padding: 0px 6px;
}
.page-wrapper{
    padding: 0px 0rem 1.2rem 0px;
    margin: 0px;
    overflow-x: scroll;
}
.footer{
    position: fixed;
    bottom: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--grey-50);
    color: var(--light);
    width: 100vw;
}
.footer_right, .footer_left{
    display: flex;
    gap: 10px;
    font-size: 13px;
}
.footer_right a{
    color: var(--light);
    text-decoration: none;
}
.footer_right a:hover{
    color: #fff;
}
.plain_link{
    color: inherit;
    text-decoration: none;
}
.clickable{
    cursor: pointer;
}
.plain_link:hover{
    color: inherit;
    text-decoration: none;
}
.main-menu-list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: flex-start;
    width: max-content;
}
.main-menu-list::-webkit-scrollbar { 
    display: none; /* Chrome, Safari, Opera */
}
.menu-icon{
    padding: 1.2rem;
    background-color: var(--light);
    border-radius: 1.2rem;
    border-color: solid 1px #ddd;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.menu-modal-outer{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-modal-close{
    padding: 0.4rem 0.6rem 0.2rem 0.6rem;
    cursor: pointer;
}
.menu-modal-close:hover{
    background-color: #ddd;
    border-radius: 5px;
}
.menu-modal{
    display: flex;
    height: 45vh;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    width: 100%;
}
.more-menu-grid{
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0;
    overflow: hidden;
}
.icon-container {
    width: 100%;
    overflow-x: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    margin: 0;
    min-height: 180px;
    margin-top: 50px;
}
.icon-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.more-menu-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.modal-info{
    width: 50px;
    padding: 0.4rem 1.2rem;
}
.modal-info:hover{
    width: 200px;
    background-color: var(--secondary);
    color: var(--light);
    border-radius: 0.4rem;
}
#menu-label{
    font-size: 44px;
    font-family: 'Zyntro', sans-serif;
    color: var(--secondary);
    height: 40px;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    font-weight: 800;
}
#menu-bottom{
    font-size: 18px;
    color: var(--secondary);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}
.search-menus{
    width: 80%;
}
.more-menu-expanded {
    display: none;
    width: 100%;
    height: 100%;
    padding: 2rem;
}
.menu-label-expanded {
    font-size: 44px;
    color: var(--secondary);
    height: 40px;
    text-align: left;
    margin-bottom: 2rem;
    padding-left: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.menu-columns {
    display: flex;
    gap: 2rem;
    padding: 0 0.8rem;
}
.menu-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 200px;
}
.menu-rows li {
    padding: 0.8rem 1rem;
    cursor: pointer;
    border-radius: 0.4rem;
    color: var(--secondary);
    transition: all 0.2s ease;
}
.menu-rows li:hover {
    background-color: var(--orange);
    color: var(--white);
}
.menu-rows li a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}
.expanded-left {
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
}
.expanded-left:hover {
    background-color: var(--light);
}
.menu-icon-focused{
    background-color: var(--orange);
    padding: 1.2rem;
    border-radius: 1.2rem;
    border-color: solid 1px #ddd;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.active-toggle {
    background-color: var(--orange);
    border-color: var(--orange-80);
    color: white;
    font-weight: 600;
}

.active-toggle:hover {
    background-color: var(--orange-90);
    border-color: var(--orange-80);
    color: white;
}

.active-toggle .icon-mini {
    color: white !important;
}

/* Toggle Switch Styles */
.toggle-switch-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 18px;
    margin: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--grey-30);
    transition: .3s;
    border-radius: 18px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--orange);
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 1px var(--orange);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(18px);
}

/* Add animation */
.toggle-slider, .toggle-slider:before {
    transition: all 0.3s ease-in-out;
}

/* Active state pulse animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(231, 81, 15, 0.4); }
    70% { box-shadow: 0 0 0 4px rgba(231, 81, 15, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 81, 15, 0); }
}

.toggle-switch input:checked + .toggle-slider:before {
    animation: pulse 1.5s;
    animation-iteration-count: 1;
}

/* Tooltip styles */
.zyntro-tooltip {
    position: fixed;
    background-color: var(--dark);
    color: var(--light);
    padding: 0.8rem 1.2rem;
    border-radius: 0.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    cursor: pointer;
}

.zyntro-tooltip.active {
    opacity: 1;
    visibility: visible;
}

.zyntro-tooltip::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 6px solid transparent;
}

/* Top position (arrow points down) */
.zyntro-tooltip[data-position="top"]::before {
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: var(--dark);
}

/* Bottom position (arrow points up) */
.zyntro-tooltip[data-position="bottom"]::before {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: var(--dark);
}

/* Left position (arrow points right) */
.zyntro-tooltip[data-position="left"]::before {
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    border-left-color: var(--dark);
}

/* Right position (arrow points left) */
.zyntro-tooltip[data-position="right"]::before {
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    border-right-color: var(--dark);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid var(--orange-10);
    border-radius: 50%;
    border-top-color: var(--orange);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.4rem;
}

.preloader .faded-text {
    color: var(--grey-60);
    font-size: 0.9rem;
}

.preloader-message {
    position: relative;
    display: inline-block;
    color: var(--grey-60);
    white-space: nowrap;
    /* overflow: hidden; */
    /* border-right: 2px solid var(--orange); */
    margin: 0;
    animation: shimmer 5s linear infinite;
    background: linear-gradient(
        90deg,
        var(--grey-80) 0%,
        var(--grey-40) 50%,
        var(--grey-20) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes typing {
    0% { width: 0 }
    50% { width: 100% }
    100% { width: 0 }
}
@keyframes shimmer {
    0% { background-position: 200% 0 }
    100% { background-position: -200% 0 }
}

#bottom-hero{
    background-color: var(--dark);
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 0.8rem;
}
#bottom-hero canvas{
    border-radius: 0.8rem;
}

.top-left-th{
    border-top-left-radius: 0.8rem;
}

.top-right-th{
    border-top-right-radius: 0.8rem;
}
.text-small{
    font-size: 12px;
}
.text-medium{
    font-size: 14px;
}
.text-large{
    font-size: 16px;
}


/* Range Slider Styles */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 3px;
    border-radius: 0.8rem;
    background: var(--primary);
    outline: none;
    margin: 15px 0;
}

/* Thumb styles for Webkit (Chrome, Safari, newer Edge) */
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--orange);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 2px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    background: var(--orange-90);
}

/* Thumb styles for Firefox */
.range-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--orange);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 2px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.range-slider::-moz-range-thumb:hover {
    background: var(--orange-90);
}

/* Track styles for Firefox */
.range-slider::-moz-range-track {
    background: var(--primary);
    height: 3px;
    border-radius: 0.8rem;
}

/* Focus styles */
.range-slider:focus {
    outline: none;
}

.range-slider:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px var(--orange-90);
}

.range-slider:focus::-moz-range-thumb {
    box-shadow: 0 0 0 3px var(--orange-90);
}

/* Range value display */
.range-value {
    font-weight: bold;
    color: var(--orange);
    min-width: 45px;
    text-align: right;
}

/* Text truncation with ellipsis */
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

/* Topic drawer styles */
.topic-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-normal);
    z-index: 1050;
    overflow-y: auto;
    border-left: 1px solid var(--grey-20);
}

.topic-drawer.open {
    right: 0;
}

.topic-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--grey-20);
    position: sticky;
    top: 0;
    background-color: var(--white);
    z-index: 2;
}

.topic-drawer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

.topic-drawer-close {
    background: none;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-round);
    transition: background-color var(--transition-fast);
}

.topic-drawer-close:hover {
    background-color: var(--grey-10);
    color: var(--primary);
}

.topic-drawer-content {
    padding: 1.5rem;
}

.topic-drawer-section {
    margin-bottom: 1.5rem;
}

.topic-drawer-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--grey-60);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.topic-drawer-item {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.topic-drawer-label {
    font-size: 0.85rem;
    color: var(--grey-60);
    margin-bottom: 0.25rem;
}

.topic-drawer-value {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.topic-drawer-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.topic-drawer-chip-primary {
    background-color: var(--orange-10);
    color: var(--orange-90);
}

.topic-drawer-chip-secondary {
    background-color: var(--grey-10);
    color: var(--grey-80);
}

.topic-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.topic-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.topic-title-link {
    cursor: pointer;
    transition: color var(--transition-fast);
}

.topic-title-link:hover {
    color: var(--orange);
}

.topic-drawer-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.topic-drawer-badge-top {
    background-color: var(--info-light);
    color: var(--primary);
}

.topic-drawer-badge-mid {
    background-color: var(--grey-30);
    color: var(--primary);
}

.topic-drawer-badge-bottom {
    background-color: var(--dark);
    color: var(--white);
}

.topic-drawer-metric {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.topic-drawer-metric-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-right: 0.5rem;
}

.topic-drawer-metric-label {
    font-size: 0.875rem;
    color: var(--grey-60);
}

.topic-drawer-divider {
    height: 1px;
    background-color: var(--grey-20);
    margin: 1.5rem 0;
}

/* Responsive Table Styles */
.table-responsive {
    margin: 0;
    border-radius: 0.8rem;
    overflow: hidden;
    width: 100%;
}

.table {
    margin-bottom: 0;
    table-layout: fixed;
    width: 100%;
}

.table th {
    border-top: none;
    background-color: var(--grey-10);
    padding: 0.8rem;
    vertical-align: middle;
}

.table td {
    padding: 0.8rem;
    vertical-align: middle;
    border-top: 1px solid var(--grey-20);
}

.table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 0.8rem;
}

.border-bottom-right-radius-0-8 {
    border-bottom-right-radius: 0.8rem;
}

/* Ensure table fits container */
.table-responsive table {
    width: 100% !important;
}

.table-responsive th,
.table-responsive td {
    white-space: nowrap;
}

/* Exception for topic title column */
.table-responsive td:nth-child(2),
.table-responsive th:nth-child(2) {
    white-space: normal;
}

/* Hover effect on rows */
.table tbody tr:hover {
    background-color: var(--grey-10);
}

/* Checkbox styling */
.table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--grey-40);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.table input[type="checkbox"]:checked {
    background-color: var(--orange);
    border-color: var(--orange);
}

.table input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.table input[type="checkbox"]:hover {
    border-color: var(--orange);
}

/* Button bar in table */
.table .button-bar {
    justify-content: center;
    display: flex;
    width: 100%;
    min-width: 80px;
    margin: 0 auto;
    padding: 2px;
}

.table .button-bar li {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Zyntro Checkbox Style */
.zyntro-checkbox {
    width: 30px;
    height: 30px;
    border-radius: 0.4rem;
    border: 2px solid var(--grey-40);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    accent-color: var(--orange);
    margin: 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
}

.zyntro-checkbox:checked {
    background-color: var(--orange);
    border-color: var(--orange);
}

.zyntro-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    width: 8px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.zyntro-checkbox:hover {
    border-color: var(--orange);
}

.zyntro-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--orange-20);
}

.zyntro-checkbox:disabled {
    background-color: var(--grey-20);
    border-color: var(--grey-30);
    cursor: not-allowed;
}

.zyntro-checkbox:disabled:checked {
    background-color: var(--grey-40);
    border-color: var(--grey-40);
}

/* Checkbox label styling */
.zyntro-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.zyntro-checkbox-label:hover .zyntro-checkbox {
    border-color: var(--orange);
}

/* Status message for actions */
.action-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    margin-left: 0.5rem;
    border-radius: 0.3rem;
    background-color: var(--grey-10);
    color: var(--primary);
    transition: all 0.3s ease;
}

.action-status .spinner {
    width: 14px;
    height: 14px;
    margin-right: 0.25rem;
}

.action-status .icon-small {
    margin-right: 0.25rem;
}

/* Active status indicator for drawer buttons */
.button-bar li.active-status {
    background-color: var(--grey-10);
    position: relative;
}

.button-bar li.active-status::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--orange);
}

.button-bar li.active-status .theme-success::after {
    content: '✓';
    position: absolute;
    font-size: 8px;
    top: -2px;
    right: -2px;
    background-color: var(--success);
    color: white;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-bar li.active-status .theme-danger::after {
    content: '✕';
    position: absolute;
    font-size: 8px;
    top: -2px;
    right: -2px;
    background-color: var(--danger);
    color: white;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fade effect styles */
.fade-top {
    position: relative;
    overflow: hidden;
}

.fade-top::before {
    content: '';
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 30%, 
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 5;
    display: block;
    margin-bottom: -40px; /* Prevent content push-down */
}

.fade-bottom {
    position: relative;
    overflow: hidden;
}

.fade-bottom::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to top, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 30%, 
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 5;
    display: block;
    margin-top: -40px; /* Prevent content push-down */
}

.fade-left {
    position: relative;
    overflow: hidden;
}

.fade-left::before {
    content: '';
    position: sticky;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 30%, 
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 5;
    display: block;
    margin-right: -40px; /* Prevent content push-right */
    float: left;
}

.fade-right {
    position: relative;
    overflow: hidden;
}

.fade-right::after {
    content: '';
    position: sticky;
    top: 0;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to left, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 30%, 
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 5;
    float: right;
    margin-left: auto; /* Push to the right edge */
}

/* Alternative implementation for deeper containers */
.fade-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.fade-container .fade-top-element {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 30%, 
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

.fade-container .fade-bottom-element {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 30%, 
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

.fade-container .fade-left-element {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 30%, 
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

.fade-container .fade-right-element {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 40px;
    background: linear-gradient(to left, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 30%, 
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

/* Dark theme variants */
.dark-theme .fade-top::before,
.dark-theme .fade-container .fade-top-element {
    background: linear-gradient(to bottom, 
        rgba(29, 29, 31, 1) 0%,
        rgba(29, 29, 31, 0.9) 30%, 
        rgba(29, 29, 31, 0.7) 50%,
        rgba(29, 29, 31, 0.3) 70%,
        rgba(29, 29, 31, 0) 100%);
}

.dark-theme .fade-bottom::after,
.dark-theme .fade-container .fade-bottom-element {
    background: linear-gradient(to top, 
        rgba(29, 29, 31, 1) 0%,
        rgba(29, 29, 31, 0.9) 30%, 
        rgba(29, 29, 31, 0.7) 50%,
        rgba(29, 29, 31, 0.3) 70%,
        rgba(29, 29, 31, 0) 100%);
}

.dark-theme .fade-left::before,
.dark-theme .fade-container .fade-left-element {
    background: linear-gradient(to right, 
        rgba(29, 29, 31, 1) 0%,
        rgba(29, 29, 31, 0.9) 30%, 
        rgba(29, 29, 31, 0.7) 50%,
        rgba(29, 29, 31, 0.3) 70%,
        rgba(29, 29, 31, 0) 100%);
}

.dark-theme .fade-right::after,
.dark-theme .fade-container .fade-right-element {
    background: linear-gradient(to left, 
        rgba(29, 29, 31, 1) 0%,
        rgba(29, 29, 31, 0.9) 30%, 
        rgba(29, 29, 31, 0.7) 50%,
        rgba(29, 29, 31, 0.3) 70%,
        rgba(29, 29, 31, 0) 100%);
}

/* Apple Intelligence style gradient text */
.ai-gradient-text {
    background: linear-gradient(
        to right,
        #47c6eb 0%,
        #8e64fa 20%,
        #d05bff 40%,
        #ff5c8a 60%,
        #ff703f 80%,
        #ffb84d 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: ai-gradient-animation 5s ease infinite alternate;
    display: inline-block;
}

@keyframes ai-gradient-animation {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 100% center;
    }
}

/* Static version without animation */
.ai-gradient-text-static {
    background: linear-gradient(
        to right,
        #47c6eb 0%,
        #8e64fa 20%,
        #d05bff 40%,
        #ff5c8a 60%,
        #ff703f 80%,
        #ffb84d 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* Professional Editor Features */

/* Animation Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes slideInDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.3); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes zoomOut {
    from { opacity: 0; transform: scale(1.7); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

/* Animation Classes */
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out; }
.animate-fadeInDown { animation: fadeInDown 0.6s ease-out; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s ease-out; }
.animate-fadeInRight { animation: fadeInRight 0.6s ease-out; }
.animate-fadeIn { animation: fadeIn 0.6s ease-out; }
.animate-slideInUp { animation: slideInUp 0.6s ease-out; }
.animate-slideInDown { animation: slideInDown 0.6s ease-out; }
.animate-slideInLeft { animation: slideInLeft 0.6s ease-out; }
.animate-slideInRight { animation: slideInRight 0.6s ease-out; }
.animate-zoomIn { animation: zoomIn 0.6s ease-out; }
.animate-zoomOut { animation: zoomOut 0.6s ease-out; }

/* Hover Effects */
.hover-lift:hover { transform: translateY(-4px); transition: all 0.3s ease; }
.hover-scale:hover { transform: scale(1.05); transition: all 0.3s ease; }
.hover-rotate:hover { transform: rotate(2deg); transition: all 0.3s ease; }
.hover-tilt:hover { transform: rotate(-1deg) scale(1.02); transition: all 0.3s ease; }

/* Shadow Presets */
.shadow-subtle { box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.shadow-small { box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.shadow-medium { box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.shadow-large { box-shadow: 0 8px 16px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 12px 24px rgba(0,0,0,0.1); }

/* Divider Styles */
.divider-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.divider-line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--grey-30);
}

.divider-line.solid { border-top: 1px solid; }
.divider-line.dashed { border-top: 1px dashed; }
.divider-line.dotted { border-top: 1px dotted; }
.divider-line.double { border-top: 3px double; }

.divider-decoration {
    padding: 0 1rem;
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--grey-60);
}

/* Spacer Styles */
.spacer-container {
    width: 100%;
    pointer-events: none;
}

.spacer-vertical {
    width: 100%;
    display: block;
}

.spacer-horizontal {
    display: inline-block;
    height: 1px;
}

/* Editor-only spacer visibility */
.editor-mode .spacer-container.show-in-editor {
    background: var(--orange-10);
    border: 1px dashed var(--orange-40);
    position: relative;
    pointer-events: auto;
}

.editor-mode .spacer-container.show-in-editor::before {
    content: 'Spacer: ' attr(data-size);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    color: var(--orange-80);
    background: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    white-space: nowrap;
}

/* Lightbox Styles */
.lightbox-trigger {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.lightbox-trigger:hover {
    opacity: 0.9;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 0.7;
}

/* Advanced Editor Controls */
.editor-control-group {
    margin-bottom: 1.5rem;
    border: 1px solid var(--grey-20);
    border-radius: 0.5rem;
    overflow: hidden;
}

.editor-control-header {
    background: var(--grey-10);
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--grey-80);
    border-bottom: 1px solid var(--grey-20);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editor-control-content {
    padding: 1rem;
    background: var(--white);
}

.editor-control-collapsible .editor-control-content {
    display: none;
}

.editor-control-collapsible.expanded .editor-control-content {
    display: block;
}

/* Color Picker Styles */
.color-picker-container {
    position: relative;
    display: inline-block;
}

.color-picker-preview {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    border: 2px solid var(--grey-30);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.color-picker-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ccc 25%, transparent 25%), 
                linear-gradient(-45deg, #ccc 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #ccc 75%), 
                linear-gradient(-45deg, transparent 75%, #ccc 75%);
    background-size: 8px 8px;
    background-position: 0 0, 0 4px, 4px -4px, -4px 0px;
}

/* Gradient Builder */
.gradient-builder {
    border: 1px solid var(--grey-30);
    border-radius: 0.5rem;
    padding: 1rem;
    background: var(--grey-10);
}

.gradient-preview {
    width: 100%;
    height: 60px;
    border-radius: 0.5rem;
    border: 1px solid var(--grey-30);
    margin-bottom: 1rem;
}

.color-stops-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-stop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--white);
    border-radius: 0.25rem;
    border: 1px solid var(--grey-30);
}

/* CSS Editor */
.css-editor-container {
    border: 1px solid var(--grey-30);
    border-radius: 0.5rem;
    overflow: hidden;
}

.css-editor {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-family-monospace);
    font-size: 0.875rem;
    border: none;
    outline: none;
    resize: vertical;
    background: #2d3748;
    color: #e2e8f0;
    line-height: 1.5;
}

.css-editor::placeholder {
    color: #a0aec0;
}

/* Responsive Design Utilities */
.responsive-control-tabs {
    display: flex;
    border-bottom: 1px solid var(--grey-20);
    margin-bottom: 1rem;
}

.responsive-tab {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    color: var(--grey-60);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.responsive-tab.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.responsive-tab:hover {
    color: var(--grey-80);
}

/* Range Slider Enhancements */
.range-slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.range-slider-input {
    flex: 1;
}

.range-slider-value {
    min-width: 60px;
    text-align: right;
    font-weight: 600;
    color: var(--orange);
}

.range-slider-presets {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.range-preset-button {
    padding: 0.25rem 0.5rem;
    background: var(--grey-10);
    border: 1px solid var(--grey-30);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.range-preset-button:hover {
    background: var(--orange-10);
    border-color: var(--orange-40);
}

.range-preset-button.active {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}
/* Professional Editor Features ends */
.acc-button{
    background-color: var(--white);
    color: var(--gray-30);
    border: none;
    width: 100%;
    text-align: left;
    padding: 10px 20px;
    cursor: pointer;
    margin-bottom: 5px;
    font-weight: normal;
}
.acc-button:hover{
    background-color: var(--grey-60);
    color: #fff !important;
    padding-left: 30px;
    font-weight: bold;
}
.acc-button.active{
    background-color: var(--orange);
    color: #fff !important;
    padding-left: 30px;
    font-weight: bold;
}
.accordion-button{
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    color: var(--light);
    font-size: 22px;
    font-weight: bold;
}
.accordion-header{
    background-color: var(--secondary);
    border-radius: 0.4rem;
}
.accordion-body{
    background-color: #f0f0f0;
    padding: 1.2rem;
    border-radius: 0;
    margin-top: -5px;
}
.icon-list{
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.icon-list li{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    height: 30px;
}
.color-swatch{
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-right: 1.2rem;
}
.color-swatch:hover{
    cursor: pointer;
    border: 2px solid var(--orange);
}
.color-swatch.selected{
    border: 6px solid var(--orange);
}
.swatch-sm{
    width: 30px;
    height: 30px;
}
.outer-scroll{
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
}
.form-control-lg{
    border-radius: 0.4rem;
}
.form-control-lg select{
    height: 45px;
}
select.form-control-lg{
    height: 53px;
}
.color-fields{
    border: 1px solid var(--grey-40);
    border-radius: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: normal;
    color: var(--primary);
}
/* Naked File Upload*/
.file-upload-zone{
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:var(--light);
    border: dotted 2px var(--orange);
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    flex-direction: column;
    cursor: pointer;
    padding: 1.5rem;
    text-align: center;
}
.file-upload-zone:hover{
    background-color: var(--light);
    border-color: var(--dark);
}
.file-upload-zone input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.grid-col{
    width: auto;
    height: 100px!important;
    margin-right: 0.3rem;
}
.backgrounds-grid {
    max-height: 320px;
    overflow-y: auto;
    padding: 10px;
}

.backgrounds-grid .col-md-4 {
    margin-bottom: 15px;
}

.background-thumb {
    width: auto;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
    border: 2px solid transparent;
}

.background-thumb:hover {
    transform: scale(1.05);
}

.background-thumb.active {
    border-color: #007bff;
    transform: scale(1.05);
}
.gap-1{
    gap: 0.5rem;
}
.gap-2{
    gap: 1rem;
}
.gap-3{
    gap: 1.5rem;
}
.gap-4{
    gap: 2rem;
}   

.setting-card{
    border: solid 3px var(--light);
    cursor: pointer;
    white-space: normal;
    height: 100%;
}
.setting-card:hover{
    border: solid 3px var(--orange);
}
.setting-card.selected{
    background-color: var(--orange-10);
    border: solid 3px var(--orange);
}
.options-div{
    display: flex;
    --webkit-scroll-behavior: smooth;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.options-div .col-md-5{
    width: 450px !important;
}
.visually-hidden{
    display: none !important;
    font-size: 0 !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: -1 !important;
}
.no-hover:hover{
    background-color: transparent !important;
}
.list-group-item a{
    color: #1d1d1f !important;
}
.list-group-item.active a{
    color: #fff !important;
}