@font-face{
    font-family: 'Fregat';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local("Fregat"), local("Fregat-Bold"), url(../fonts/Fregat/Fregat_regular.otf) format("woff2"), url(../fonts/Fregat/Fregat_bold.otf) format("otf");
}

@font-face{
    font-family: 'Gamestation';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local("Gamestation"), local("GamestationDisplay"), url(../fonts/Gamestation/GamestationText.otf) format("woff2"), url(../fonts/Gamestation/GamestationDisplay.otf) format("woff2");
}

@font-face{
    font-family: 'GamestationDisplay';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src:  local("GamestationDisplay"), url(../fonts/Gamestation/GamestationStorm.otf) format("woff2");
}

@font-face{
    font-family: 'Nimbus';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local("Nimbus"), url(../fonts/Nimbus_Sans_Round/Nimbus_Sans_Round.otf) format("woff2");
}

@font-face{
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src:local("Rubik"), local("Rubik-Italic"), url(../fonts/Rubik/Rubik.ttf) format("woff2"), url(../fonts/Rubik/Rubik-Italic.ttf) format("ttf");
}

:root {
    --first-blue: #0858c5ff;
    --second-blue: #1055B2;
    --dark-blue: #0D4082;
    --super-dark: #092D5B;

    --color-red: #d44b89;

    --blue-sky: #3da5d9ff;
    --add-line: #73bfb8ff;

    --back-1:#d5f1ff;
    --back-2:#d5f1ff7a;
    --back-3:#d5f1ff42;

    --border-1: #bddeeb;

    --highlight: #fec601ff;
    --outline: #ea7317ff;
    --outline-green: #00BA09;

    --main-black: #010101;

    --rem-base: 14;
    --navbar-height: 60px;
    --navbar-width: 21rem;
    /* --navbar-height: calc(63 / var(--rem-base) * 1rem); */
    --toolbar-height: calc(45 / var(--rem-base) * 1rem);


    --color-primary: #0858c5;
    
    --color-secondary: #C490D1;
    --color-tertiary: #ACACDE;
    --color-accent: #ABDAFC;
    --color-light: #E5FCFF;
    --color-bg: #f8f9fa;

    --color-surface: #ffffff;

    --color-text: #2c3e50;
    --color-text-light: #6c757d;
    --color-border: #e0e5eb;
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    --border-radius: 3px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', 'Segoe UI', Geneva, sans-serif;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
    min-height: 100vh;
    color: #333;
}

.auth-overlay {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top:0;
  left:0;
  background-color: #eee;
  color: rgb(67, 3, 245);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.auth-overlay-back {
  position: absolute;
  top: 1rem;
  left:1rem;
}

.auth-overlay-back-txt {
  cursor: pointer;
}

.auth-section {
    display: inline-block;
    margin: auto;
    /* margin-top: 5rem; */
    border: 1px dashed #eeeeee70;
    min-width: 60vw;
    width: 60vw;
    height: 60vh;
    position: relative;
    padding: 1rem;
    border-radius: 3px;
    text-align: center;
}

@media only screen and (max-width: 960px) {
    .auth-section  {
        margin-top: 2rem;
        height: 80vh;
        width:70vw;
    }
}

@media only screen and (max-width: 700px) {
    .auth-section  {
        margin-top: 2rem;
        height: 80vh;
        width:80vw;
    }
}

@media only screen and (max-width: 450px) {
    .auth-section  {
        width:90vw;
    }
}

.auth-section-left {
    display: inline-block;
    width: 40%;
    position: relative;
    height: 100%;
    vertical-align: top;
}

@media only screen and (max-width: 960px) {
    .auth-section-left  {
        width: 100%;
        height: 11rem;
    }
}

.auth-section-right {
    display: inline-block;
    width: 25rem;
    position: relative;
    height: 100%;
    justify-content: center;
    text-align: center;
}


@media only screen and (max-width: 960px) {
    .auth-section-right  {
        margin-top: 3rem;
        width: 90%;
    }
}

@media only screen and (max-width: 960px) {
    .auth-section-left  {
        width: 80%;
        height: 14rem;
    }
}

.auth-overlay-form .auth-form-tab {
    width: 50%;
}

.auth-status-logout {
    cursor: pointer;
}


.auth-input::placeholder {
  font-size: 0.9rem;
  color: #999;
}

.auth-input.has-error {
  border: 1px solid #ff8abf;
}

.auth-error-txt {
    color: #ff8abf;
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    bottom: -1.2rem;
    padding-left: 0.2rem;
}

.auth-status-logout {
  margin-left:0.2rem;
  cursor: pointer;
}

.auth-overlay-title-txt {
    color: #eee;
    font-family: 'Rubik';
}

.btn-login.uk-button-primary {
    background-color: #00BA09;
}

.btn-register.uk-button-primary {
    background-color: #d44b89;
}

.admin-header {
    /* background: linear-gradient(135deg, #01862d, #04a73a); */
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(1, 134, 45, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Header */
.top-header {
    background: var( --back-2);
    border-bottom: 1px solid var(--color-border);
    padding: 0 var(--spacing-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.top-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    max-width: 1920px;
    margin: 0 auto;
}

.top-header-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.top-header-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #004aad, #0d99ff, #97e4f9);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 25px;

    /*font-family: 'Fregat';*/
    font-family: 'Gamestation';
}

.top-header-user-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.top-header-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.top-header-actions-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: all 0.2s;
    position: relative;
}

.top-header-actions-btn:hover {
    background: var(--color-bg);
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--color-error);
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.header-cubes {
    display: inline-block;
    margin: auto;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-status-btn .uk-button-primary {
    background-color: #0858c5;
}

.notification-badge {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.mtd-cube-icon {
    width: 40px;
    height: 40px;
    background-image: url('/icons/cube.svg');
    background-size: 100%;
    display: inline-block;
}

@media only screen and (max-width: 960px) {
    .mtd-cube-1  {
       width: 30px;
       height: 30px;
    }
}


.main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.left-menu {
    top: 2rem;
    box-shadow: none;
    position: absolute;
    height: var(--nav-height--desktop);
    width: var(--navbar-width);
    padding: var(--spacing-sm);
    overflow-y: auto;
    max-height: calc(100vh - (var(--navbar-height) + 1px + 2rem));
}

.left-menu .uk-nav-default>li>a {
    color: #fff;
}

.left-menu .uk-nav-default>li>a:hover {
    color: var(--color-accent);
}

.left-menu .uk-nav-default .uk-nav-sub a {
    color: #eee;
}

.uk-nav-default .uk-nav-sub a {
    color: #eee;
}

.left-menu .uk-nav-default .uk-nav-sub a:hover {
    color: var(--color-accent);
}

.left-menu .uk-nav-default {
    font-size: 0.95rem;
    line-height: 1.8;
}

.left-menu .uk-nav-default .uk-nav-header {
    color: #fff;
}


@media (pointer: fine) {
    @supports (scrollbar-width:thin) {
        body * {
            scrollbar-width: thin;
            /* scrollbar-color: var(--scrollbar-thumb-color) transparent; */
            scrollbar-color: #eeeeee82 transparent;
        }
    }
}

.main-content {
    color: rgb(255, 255, 255);
    position: relative;
    z-index: 1;
    padding-bottom: 0px;
    /* padding-top: 150px; */
    background: transparent linear-gradient(155deg, #008aff 0, #0a3597 76%, #0f3d6d 100%) 0 0 no-repeat padding-box;
    min-height: calc(100vh - 61px);
    text-align: center;
}

@media only screen and (max-width: 960px) {
    .main-content  {
       padding-top: 5px;
    }
}


.main-content-section {
    -webkit-box-flex: 1;
    min-width: 0px;
    flex: 1 1 auto;
    color: #fff;
    margin-left: var(--navbar-width);
}

.admin-content {
    padding: 2rem 8em 1rem 2rem;
    text-align: left;
}

.admin-content-header {
    margin-top: 1rem;
    color:#fff;
    border: 1px solid #ffffff5e;
        padding: 0.5rem;
}

.admin-content-header-h4 {
    color:#fff;
    margin:0;
}

.admin-content .uk-accordion-title {
    color: #eee;
}

.admin-content .uk-accordion-title:hover {
    color: #eee;
}

.admin-content .uk-accordion-title::before {
    filter: sepia(1)
}

.admin-content .uk-accordion-content {
    display: flex;
}

.admin-half-content {
    padding-left: 4rem;
    font-family: 'Rubik';
}

.admin-half-content.left {
    padding-left: 0;
}

.admin-half-content-header {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.1rem;
}

.admin-half-content .uk-tab>.uk-active>a {
    color: var(--outline-green);
    font-weight: 600;
}

.admin-half-content .uk-tab>*>a:hover {
    color: #eee;
}

.admin-content-fields {
    width: 10rem;
    display: inline-block;
    vertical-align: top;
    
}


.admin-content-fields .uk-tab>*>a {
    color:#d7d5d5;
}

.admin-content-fields-form {
    display: inline-block;
    padding-left: 2.5rem;
    width: 20rem;
}

.admin-content-fields-main {
    width: 25rem;
    margin-top: 1.5rem;
}

.admin-content-fields-form .uk-form-label, .admin-half-content  .uk-form-label, .admin-content-fields-wide .uk-form-label{
    color: #eee;
}

.admin-half-content .admin-fields-save, .admin-half-content-header .admin-fields-save {
    /* margin-left: 5rem; */
    background-color: var(--color-accent);
}

.admin-content-fields-form .cb-size-large, .admin-content-fields-wide .cb-size-large {
    width: 2rem;
    height: 2rem;
    margin-top: 0.2rem;
}

.admin-content-fields-wide {
    margin-top: 1.5rem;
}

.admin-content-fields-header {
    font-size: 1.5rem;
    color: #eee;
}

.admin-fields-columns {
    columns: 3; 
    column-count: 3; 
    column-gap: 40px; 
    column-rule: 1px solid #b3b2b294; 
}

@media only screen and (max-width: 1490px) {
    .admin-fields-columns {
        columns: 2; 
        column-count: 2; 
    }
}



.admin-fields-columns .admin-column {
    width: 22rem;
}

@media only screen and (max-width: 1900px) {
    .admin-fields-columns .admin-column {
        width: 19rem;
    }
}

@media only screen and (max-width: 1690px) {
    .admin-fields-columns .admin-column {
        width: 15rem;
    }
}

@media only screen and (max-width: 1490px) {
    .admin-fields-columns .admin-column {
        width: 19rem;
    }
}

@media only screen and (max-width: 1300px) {
    .admin-fields-columns .admin-column {
        width: 16rem;
    }
}

@media only screen and (max-width: 1190px) {
    .admin-fields-columns .admin-column {
        width: 14rem;
    }
}

.admin-field-required {
    color: var(--color-red);
}


.admin-table-content {
    width: 100%;
    overflow-x: auto;
    display: block;
}

.admin-table-content .uk-table th {
    color: #fff;
    min-width: 10rem;
    /* font-weight: 600; */
}

.admin-table-content-add {
    width: 100%; 
}

.admin-table-content-add.uk-button-default {
    color: #fff;
    margin: 0.5rem 0;
}

.admin-table-content-add.uk-button-default:hover {
    color: var(--color-accent);
}

.admin-table-content-save.uk-button-default {
    color: #fff;
    background-color: var(--outline-green);
    margin: 0.5rem 0;
}

.admin-table-content-save.uk-button-default:hover  {
    color: #fff;
    background-color: var(--color-accent);
}

.admin-table-cell-edit {

}

.admin-table-cell-line {
    white-space: nowrap;
}

.admin-table-edit.uk-input {
    padding: 0 0.5rem;
    height: 2rem;
}


.panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.panel-header {
    background: rgba(3, 153, 3, 0.14);
    padding: 0;
    border-bottom: 1px solid rgba(3, 153, 3, 0.2);
}

.tab-menu {
    display: flex;
    background: none;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #01862d;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(4, 167, 58, 0.1), transparent);
    transition: left 0.5s;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button:hover {
    background: rgba(4, 167, 58, 0.1);
    color: #01862d;
}

.tab-button.active {
    background: linear-gradient(135deg, #01862d, #04a73a);
    color: white;
    border-bottom-color: #04a73a;
}

.tab-content {
    padding: 1.5rem;
    min-height: 300px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background: rgba(3, 153, 3, 0.14);
    color: #01862d;
    font-weight: 600;
}

.data-table tr:hover {
    background: rgba(4, 167, 58, 0.05);
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-active {
    background: rgba(4, 167, 58, 0.2);
    color: #01862d;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #f57c00;
}

.status-inactive {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* Chart Styles */
.chart-container {
    margin-top: 1rem;
    height: 250px;
    position: relative;
    background: rgba(3, 153, 3, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bar-chart {
    display: flex;
    align-items: end;
    gap: 1rem;
    height: 200px;
    padding: 2rem;
}

.bar {
    background: linear-gradient(180deg, #04a73a, #01862d);
    border-radius: 4px 4px 0 0;
    min-width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bar:hover::before {
    opacity: 1;
}

.bar:hover {
    transform: scale(1.05);
}

.bar-label {
    margin-top: 0.5rem;
    color: #333;
    font-size: 0.7rem;
}

/* Settings Styles */
.settings-group {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid rgba(3, 153, 3, 0.2);
    border-radius: 8px;
    background: rgba(3, 153, 3, 0.05);
}

.settings-title {
    color: #01862d;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #04a73a;
    box-shadow: 0 0 0 2px rgba(4, 167, 58, 0.2);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(135deg, #01862d, #04a73a);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.action-button {
    background: linear-gradient(135deg, #01862d, #04a73a);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.action-button:hover::before {
    width: 300px;
    height: 300px;
}

.action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(1, 134, 45, 0.4);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.stat-card {
    background: rgba(3, 153, 3, 0.05);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(3, 153, 3, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #01862d;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.checkbox-item:hover {
    background: rgba(4, 167, 58, 0.05);
}

.custom-checkbox {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.custom-checkbox input {
    opacity: 0;
    position: absolute;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.custom-checkbox:hover .checkmark {
    border-color: #04a73a;
    box-shadow: 0 0 0 2px rgba(4, 167, 58, 0.1);
}

.custom-checkbox input:checked + .checkmark {
    background: linear-gradient(135deg, #01862d, #04a73a);
    border-color: #01862d;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked + .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.radio-item:hover {
    background: rgba(4, 167, 58, 0.05);
}

.custom-radio {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.custom-radio input {
    opacity: 0;
    position: absolute;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.custom-radio:hover .radio-checkmark {
    border-color: #04a73a;
    box-shadow: 0 0 0 2px rgba(4, 167, 58, 0.1);
}

.custom-radio input:checked + .radio-checkmark {
    background: #fff;
    border-color: #01862d;
}

.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-radio input:checked + .radio-checkmark:after {
    display: block;
}

.custom-radio .radio-checkmark:after {
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #01862d, #04a73a);
}

.range-group {
    margin: 1.5rem 0;
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #04a73a 0%, #04a73a var(--value, 50%), #ddd var(--value, 50%), #ddd 100%);
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.range-slider:hover {
    box-shadow: 0 0 0 4px rgba(4, 167, 58, 0.1);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #01862d, #04a73a);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(1, 134, 45, 0.3);
    transition: all 0.3s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(1, 134, 45, 0.4);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #01862d, #04a73a);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(1, 134, 45, 0.3);
}

.range-value {
    display: inline-block;
    background: rgba(3, 153, 3, 0.1);
    color: #01862d;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    min-width: 60px;
    text-align: center;
}

.form-section {
    background: rgba(3, 153, 3, 0.03);
    border: 1px solid rgba(3, 153, 3, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-title {
    color: #01862d;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(4, 167, 58, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.multi-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    max-height: 120px;
    overflow-y: auto;
    background: white;
}

.multi-select-item {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.multi-select-item:hover {
    background: rgba(4, 167, 58, 0.05);
}

.multi-select-item:last-child {
    border-bottom: none;
}

.main-container {
    grid-template-columns: 1fr;
    padding: 1rem;
}

.header-content {
    flex-direction: column;
    gap: 1rem;
}

.tab-menu {
    flex-wrap: wrap;
}

.tab-button {
    flex: 1;
    min-width: 100px;
}



    /* Modal Styles */
    .modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        z-index: 2000;
        /* display: none; */
        align-items: center;
        justify-content: center;
        animation: modalFadeIn 0.3s ease;
        text-align: center;
        justify-content: center;
        display: flex;
    }

    .modal-overlay.active {
        display: flex;
    }

    @keyframes modalFadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .modal-window {
        background: white;
        border-radius: 3px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        max-width: 600px;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        animation: modalSlideIn 0.3s ease;
        position: relative;
        top: -10rem;
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-50px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .modal-header {
        background: linear-gradient(135deg, #ebf8ff, #0075ad);
        color: white;
        padding: 1.5rem;
        border-radius: 2px 2px 0 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .modal-title {
        font-size: 1.25rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .modal-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        font-size: 1.2rem;
    }

    .modal-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

    .modal-body {
        padding: 2rem;
        text-align: left;
    }

    .modal-footer {
        padding: 1.5rem 2rem;
        border-top: 1px solid rgb(3 110 153 / 20%);
        background: rgb(3 110 153 / 5%);
        display: flex;
        gap: 1rem;
        justify-content: flex-end;
        border-radius: 0 0 12px 12px;
    }

    .modal-button {
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .modal-button.secondary {
        background: #6c757d;
        color: white;
    }

    .modal-button.secondary:hover {
        background: #5a6268;
        transform: translateY(-1px);
    }

    .modal-button.primary {
        background: linear-gradient(135deg, #01862d, #04a73a);
        color: white;
    }

    .modal-button.primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(1, 134, 45, 0.4);
    }

    .modal-button.danger {
        background: linear-gradient(135deg, #dc3545, #c82333);
        color: white;
    }

    .modal-button.danger:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    }

    .file-upload-area {
        border: 2px dashed #04a73a;
        border-radius: 8px;
        padding: 2rem;
        text-align: center;
        background: rgba(3, 153, 3, 0.05);
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
    }

    .file-upload-area:hover {
        border-color: #01862d;
        background: rgba(3, 153, 3, 0.1);
        transform: translateY(-2px);
    }

    .file-upload-area.dragover {
        border-color: #01862d;
        background: rgba(4, 167, 58, 0.15);
    }

    .file-upload-icon {
        font-size: 3rem;
        color: #04a73a;
        margin-bottom: 1rem;
    }

    .file-upload-text {
        color: #01862d;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .file-upload-hint {
        color: #666;
        font-size: 0.9rem;
    }

    .file-input {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

    .progress-bar-container {
        background: #e9ecef;
        border-radius: 10px;
        overflow: hidden;
        height: 8px;
        margin: 1rem 0;
    }

    .progress-bar {
        height: 100%;
        background: linear-gradient(90deg, #01862d, #04a73a);
        transition: width 0.3s ease;
        border-radius: 10px;
    }

    .color-picker-group {
        display: flex;
        gap: 1rem;
        align-items: center;
        margin: 1rem 0;
    }

    .color-picker {
        width: 60px;
        height: 40px;
        border: 2px solid #ddd;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
        background: none;
    }

    .color-picker:hover {
        border-color: #04a73a;
        transform: scale(1.05);
    }

    .datetime-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .tag-input-container {
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 0.5rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        min-height: 42px;
        align-items: center;
        background: white;
        transition: border-color 0.3s ease;
    }

    .tag-input-container:focus-within {
        border-color: #04a73a;
        box-shadow: 0 0 0 2px rgba(4, 167, 58, 0.2);
    }

    .tag {
        background: linear-gradient(135deg, #01862d, #04a73a);
        color: white;
        padding: 0.25rem 0.75rem;
        border-radius: 15px;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .tag-remove {
        background: rgba(255, 255, 255, 0.3);
        border: none;
        color: white;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
    }

    .tag-input {
        border: none;
        outline: none;
        flex: 1;
        min-width: 100px;
        padding: 0.25rem;
        font-size: 0.9rem;
    }
        
