﻿.ict-sub-menu {
    overflow: hidden;
    transition: height .25s ease;
    height: 0px;
}

.ict-invalid {
    border-color: #ef4444 !important;
}

.ict-validate-error {
    margin-top: 4px;
    font-size: 12px;
    color: #ef4444;
}

.main-content {
    background: linear-gradient( 135deg, rgba(254, 238, 255, 0.18), rgba(151, 125, 255, 0.12) );
    backdrop-filter: blur(16px);
}

.modal-backdrop.show {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px);
}

@media(max-width:900px) {
    .neon-box {
        width: 95%;
        height: auto
    }

    .slide {
        flex-direction: column
    }

    .welcome-side {
        width: 100%;
        clip-path: none;
        justify-content: center;
        text-align: center;
    }

    .form-side {
        width: 100%
    }
}
/* Wrapper */
.section-header {
    padding-left: 16px;
    position: relative;
    display: inline-block;
}

    /* Vạch tím đơn giản */
    .section-header::before {
        content: "";
        position: absolute;
        left: 0;
        top: 4px;
        width: 4px;
        height: 28px;
        border-radius: 4px;
        background: linear-gradient(180deg, #b34ff6, #977dff);
        opacity: 0.85; /* giảm hiệu ứng */
    }

/* Title */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    /* Glass nhẹ */
    backdrop-filter: blur(8px);
    border-radius: 10px;
    /* Text tím rõ, không glow */
    color: #511f9e;
}

    /* Hover rất nhẹ */
    .section-title:hover {
        background: rgba(255, 255, 255, 0.08);
    }


/*Login*/
/* ===== MAIN BOX ===== */
.neon-box {
    width: 920px;
    height: 500px;
    background: #080010;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

/* ===== SLIDER WRAPPER ===== */
.slider-wrap {
    width: 200%;
    height: 100%;
    display: flex;
    transition: .9s cubic-bezier(.68,-0.55,.27,1.55);
}

.neon-box.login .slider-wrap {
    transform: translateX(-50%);
}

/* ===== EACH SLIDE ===== */
.slide {
    width: 50%;
    height: 100%;
    display: flex;
}

/* ===== FORM SIDE ===== */
.form-side {
    width: 55%;
    padding: 70px 60px;
    color: #fff;
    background: #080010;
}

    .form-side h2 {
        font-weight: 700;
        margin-bottom: 30px;
    }

.form-control {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #777 !important;
    border-radius: 0 !important;
    color: #511f9e;
}

    .form-control::placeholder {
        color: #511f9e;
    }

.btn-neon {
    width: 100%;
    margin-top: 22px;
    padding: 11px;
    border-radius: 30px;
    border: none;
    color: #fff;
    background: linear-gradient(135deg,#977dff,#b24ff6);
}

.form-link {
    color: #b24ff6;
    text-decoration: none;
}

/* ===== WELCOME PANEL ===== */
.welcome-side {
    width: 45%;
    padding: 70px 50px;
    display: flex;
    align-items: center;
    /* 🌈 Gradient tím điện đúng palette */
    background: linear-gradient( 135deg, rgba(254, 238, 255, 0.25), /* #feeeff trong suốt */
    rgba(151, 125, 255, 0.18), /* #977dff */
    rgba(179, 79, 246, 0.22), /* #b34ff6 */
    rgba(81, 31, 158, 0.28) /* #511f9e */
    );
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    /* Glow tím nhẹ */
    color: #feeeff;
    transition: transform .9s cubic-bezier(.68,-0.55,.27,1.55);
}

    .welcome-side h2 {
        font-weight: 800;
        text-shadow: 0 0 14px #ffffffaa, 0 0 18px #b34ff6aa;
    }

.form-side {
    background: rgba(254, 238, 255, 0.05); /* #feeeff */
    backdrop-filter: blur(18px);
    border: 1px solid rgba(254, 238, 255, 0.15);
    color: #feeeff;
}
/* ===== DEFAULT (LOGIN) ===== */
/* SIGN UP */
.neon-box.login .slide:last-child .welcome-side {
    /*clip-path: polygon(0 0,82% 0,100% 100%,0 100%);*/
    transform: translateX(0);
}

.slider-wrap {
    width: 200%;
    height: 100%;
    display: flex;
    transition: transform .9s cubic-bezier(.68,-0.55,.27,1.55);
    will-change: transform;
}

.neon-box, .slider-wrap, .welcome-side {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.bg-glass {
    background: radial-gradient(circle at 20% 20%, #ffffff55, transparent 40%), radial-gradient(circle at 80% 30%, #9f7bff55, transparent 45%), radial-gradient(circle at 50% 80%, #7a2cff33, transparent 40%), linear-gradient(135deg,#0f0f1a,#050008);
}

#bg-matrix {
    position: fixed; /* ✅ BẮT BUỘC */
    inset: 0;
    background: radial-gradient(circle at top, #15002b, #030007);
    z-index: 0; /* ✅ nằm đáy */
}


.btn-neon {
    background: linear-gradient(135deg, #977dff, #b34ff6);
}

.slider-wrap {
    transition: transform 0.6s ease-in-out;
}

    .slider-wrap.login {
        transform: translateX(-50%);
    }

.social-btn {
    width: 100%;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    cursor: pointer;
    transition: .25s ease;
    border: none;
}

    .social-btn img {
        width: 20px;
        height: 20px;
    }

/* Facebook */
.btn-facebook {
    background: #1877f2;
    color: white;
}

    .btn-facebook:hover {
        background: #0f5ed1;
    }

/* Google */
.btn-google {
    background: white;
    color: #444;
    border: 1px solid rgba(151,125,255,0.25);
}

    .btn-google:hover {
        background: #f3f3f3;
    }

.social-btn.btn-facebook {
    background: linear-gradient(135deg, #1877f2, #3b8cff) !important;
}

.social-btn.btn-google {
    background: linear-gradient(135deg,#fff,#f7f7f7) !important;
}

.or-line {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 10px 0;
    color: #feeeff;
    font-weight: 300;
    letter-spacing: 1px;
}

    .or-line::before,
    .or-line::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid rgba(151,125,255,0.35);
        margin: 0 10px;
        opacity: .6;
    }


/*Side Bar*/
/* ===============================
   APP SIDEBAR - PURPLE GLASS
================================= */
.app-sidebar {
    background: linear-gradient( 165deg, rgba(254, 238, 255, 0.25), /* feeeff */
    rgba(151, 125, 255, 0.35), /* 977dff */
    rgba(179, 79, 246, 0.45), /* b34ff6 */
    rgba(81, 31, 158, 0.75) /* 511f9e */
    );
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-right: 1px solid rgba(254, 238, 255, 0.25);
}

/* ===============================
   MAIN SIDEBAR
================================= */
.sidebar {
    width: 260px;
    color: white;
    padding: 16px 14px;
}

/* ===============================
   MENU ITEM - PURPLE GLASS iOS
================================= */
.menu-item {
    position: relative;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 10px 0 0;
    background: linear-gradient( 135deg, rgba(254, 238, 255, 0.22), /* feeeff */
    rgba(151, 125, 255, 0.12) /* 977dff */
    );
    border: 1px solid rgba(254, 238, 255, 0.28);
    backdrop-filter: blur(14px);
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    color: #511f9e; /* tím nhạt – dễ đọc */
}

    /* ===== ÁNH SÁNG VIỀN TÍM ===== */
    .menu-item::before {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: 18px;
        background: linear-gradient( 120deg, #feeeff, #977dff, #b34ff6 );
        opacity: 0;
        filter: blur(14px);
        transition: opacity .35s ease;
        z-index: -1;
    }

    /* ===== HOVER ===== */
    .menu-item:hover::before {
        opacity: 0.85;
    }

    .menu-item:hover {
        background: linear-gradient( 135deg, rgba(151, 125, 255, 0.38), rgba(179, 79, 246, 0.32) );
        color: #FFFFFF;
    }

    /* ===== ACTIVE ===== */
    .menu-item.active {
        background: linear-gradient( 135deg, rgba(179, 79, 246, 0.75), rgba(151, 125, 255, 0.55) );
        color: #FFFFFF;
    }

/* ===============================
   MENU TITLE
================================= */
.has-sub .menu-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* ===============================
   ict-sub-menu - PURPLE GLASS LIST
================================= */
.ict-sub-menu {
    padding-left: 12px;
    color: #D9CCFF;
    list-style-type: none;
}

    /* ===== SUB ITEM ===== */
    .ict-sub-menu li {
        position: relative;
        padding: 6px 14px;
        border-radius: 5px;
        font-size: 14px;
        color: #511f9e;
        cursor: pointer;
        transition: all .3s cubic-bezier(.4,0,.2,1);
    }

        /* ===== DOT TÍM ĐIỆN ===== */
        .ict-sub-menu li::before {
            content: "";
            width: 6px;
            height: 6px;
            border-radius: 50%;
            left: -22px;
            top: 50%;
            background: #b34ff6;
        }

        /* ===== SUB HOVER ===== */
        .ict-sub-menu li:hover {
            color: #FFFFFF;
            background: linear-gradient( 135deg, rgba(151, 125, 255, 0.45), rgba(179, 79, 246, 0.35) );
        }

        /* ===== SUB ACTIVE ===== */
        .ict-sub-menu li.active {
            color: #FFFFFF;
            background: linear-gradient( 135deg, rgba(179, 79, 246, 0.85), rgba(151, 125, 255, 0.65) );
        }

/* ===============================
   SLIDE ANIMATION
================================= */
.slide-enter-active,
.slide-leave-active {
    transition: all .3s cubic-bezier(.4,0,.2,1);
}

.slide-enter-from {
    opacity: 0;
    transform: translateY(-12px);
}

.slide-enter-to {
    opacity: 1;
    transform: translateY(0);
}

.slide-leave-from {
    opacity: 1;
    transform: translateY(0);
}

.slide-leave-to {
    opacity: 0;
    transform: translateY(-12px);
}

/* ===============================
   ARROW ROTATE
================================= */
.arrow {
    transition: .35s ease;
}

.has-sub.open .arrow {
    transform: rotate(180deg);
}


/*Glass tab*/
.tab-btn {
    position: relative;
    padding: 10px 22px;
    border: 1px solid rgba(254, 238, 255, 0.25); /* feeeff */
    background: linear-gradient( 135deg, rgba(254, 238, 255, 0.12), rgba(151, 125, 255, 0.08) );
    color: #511f9e; /* tím pastel rõ */
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all .35s cubic-bezier(.4,0,.2,1);
}

/* Bo góc trái cho tab đầu */
.tab-group .tab-btn:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

/* Bo góc phải cho tab cuối */
.tab-group .tab-btn:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Nếu chỉ có 1 tab */
.tab-group .tab-btn:only-child {
    border-radius: 5px;
}

/* ===== HOVER ===== */
.tab-btn:hover {
    color: white;
    background: linear-gradient( 135deg, rgba(151, 125, 255, 0.35), rgba(179, 79, 246, 0.28) );
}

.tab-btn.active {
    color: white;
    background: linear-gradient( 135deg, #b34ff6, #977dff );
    border: 1px solid rgba(254, 238, 255, 0.45);
}

.tab-glass .nav-item {
    margin-right: 0px;
}

.tab-icon {
    font-size: 16px;
    color: #ECE6FF;
}

.tab-glass-content {
    min-height: 160px;
    border-radius: 5px;
    border: 1px solid rgba(254, 238, 255, 0.25);
    color: #511f9e;
}

.fade-slide {
    animation: fadeSlide .4s cubic-bezier(.4,0,.2,1);
}

.btn-submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed !important;
}

.loading-box {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #511f9e;
}

/* SPINNER TÍM ĐIỆN */
.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(254, 238, 255, .25);
    border-top: 3px solid #b34ff6;
    border-left: 3px solid #b34ff6;
    border-bottom: 3px solid #b34ff6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/**/
/* Container icon */
.avatar-list-stacked {
    display: flex;
    align-items: center;
}

/* Icon glass chuẩn */
.icon-glass {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient( 135deg, rgba(254, 238, 255, 0.9), rgba(151, 125, 255, 0.35) );
    color: #7b5cf5;
    font-size: 18px;
    box-shadow: inset 0 0 5px rgba(255,255,255,.45), 0 0 5px rgba(123,92,245,.35);
    backdrop-filter: blur(8px);
    transition: all .25s ease;
}

    /* Hover nổi nhẹ */
    .icon-glass:hover {
        box-shadow: inset 0 0 10px rgba(255,255,255,.6), 0 0 10px rgba(123,92,245,.55);
        color: #ffffffaa;
    }

/* Badge nhỏ gọn */
.icon-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #977dff, #b34ff6);
    color: white;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Base Glass Button */
.btn-glass {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    background: linear-gradient( 135deg, rgba(255,255,255,.65), rgba(255,255,255,.15) );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 0 5px rgba(255,255,255,.35), 0 8px 18px rgba(0,0,0,.25);
    transition: all .25s ease;
}

    /* ICON */
    .btn-glass i {
        font-size: 15px;
        transition: .25s ease;
    }

/* ===== GREEN (EDIT) ===== */
.btn-glass-green {
    color: #22c55e;
    box-shadow: inset 0 0 5px rgba(34,197,94,.4), 0 0 5px rgba(34,197,94,.35);
}

    .btn-glass-green:hover {
        background: linear-gradient( 135deg, rgba(34,197,94,.25), rgba(255,255,255,.25) );
        color: #ffffffaa;
    }

/* ===== RED (DELETE) ===== */
.btn-glass-red {
    color: #ef4444;
    box-shadow: inset 0 0 5px rgba(239,68,68,.35), 0 0 5px rgba(239,68,68,.35);
}

    .btn-glass-red:hover {
        background: linear-gradient( 135deg, rgba(239,68,68,.25), rgba(255,255,255,.25) );
        color: #ffffffaa;
    }

/* ===== GLASS CARD ===== */
.glass-card {
    background: linear-gradient(135deg, rgba(254, 238, 255, 0.12), rgba(151, 125, 255, 0.08));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(254, 238, 255, .35);
    border-radius: 8px;
    box-shadow: inset 0 0 5px rgba(254, 238, 255, .25), 0 0 15px rgba(81, 31, 158, .35);
}

/* ===== SEARCH WRAP ===== */
.glass-search-wrap {
    background: linear-gradient( 135deg, rgba(254, 238, 255, .6), rgba(151, 125, 255, .12) );
    border-radius: 14px;
    padding: 8px;
    display: flex;
    gap: 10px;
    border: 1px solid rgba(254, 238, 255, .35);
    box-shadow: inset 0 0 5px rgba(254, 238, 255, .3);
}

/* ===== INPUT GLASS ===== */
.glass-input {
    border: none !important;
    background: transparent !important;
    color: #511f9e !important;
    font-weight: 600;
    box-shadow: none !important;
}

    .glass-input::placeholder {
        color: rgba(81, 31, 158, .6);
    }

/* ===== CLEAR BUTTON ===== */
.glass-btn-clear {
    padding: 6px 16px;
    border-radius: 10px;
    border: 1px solid rgba(254, 238, 255, .35);
    background: linear-gradient( 135deg, rgba(254, 238, 255, .45), rgba(151, 125, 255, .2) );
    color: #511f9e;
    font-weight: 600;
    transition: .25s ease;
}

    .glass-btn-clear:hover {
        background: linear-gradient(135deg, #977dff, #b34ff6);
        color: white;
        box-shadow: 0 0 10px rgba(151, 125, 255, .75);
    }

/* ===== SORT AREA ===== */
.glass-sort label {
    color: #511f9e;
    font-weight: 600;
}

/* ===== SELECT GLASS ===== */
.glass-select {
    padding: 7px 14px;
    border-radius: 12px;
    border: 1px solid rgba(254, 238, 255, .4);
    background: linear-gradient( 135deg, rgba(254, 238, 255, .6), rgba(151, 125, 255, .15) );
    color: #511f9e;
    font-weight: 600;
    outline: none;
    box-shadow: inset 0 0 5px rgba(254, 238, 255, .25);
}
    /*------------------------------------------------------------------
   OPTION GROUP LABEL
-------------------------------------------------------------------*/
    .glass-select optgroup {
        font-weight: 700;
        color: #cda8ff !important;
        background: rgba(151,125,255,0.15);
        padding: 6px 10px;
        border-radius: 6px;
        margin-top: 8px;
        border-left: 3px solid #b34ff6;
    }

    /*------------------------------------------------------------------
   OPTION STYLE
-------------------------------------------------------------------*/
    .glass-select option {
        padding: 8px 14px;
        color: #4b2d9f;
        background: rgba(255,255,255,0.75); /* dễ đọc hơn */
        font-weight: 600;
        border-radius: 6px;
        cursor: pointer;
    }

        /* Hover không áp dụng 100% trên mọi trình duyệt nhưng Chrome/Edge hỗ trợ */
        .glass-select option:hover {
            background: linear-gradient(135deg, #efe6ff, #d4c3ff);
            color: #511f9e;
        }

        /* Selected */
        .glass-select option:checked {
            background: linear-gradient(135deg,#b34ff6,#977dff);
            color: white;
        }

    /*------------------------------------------------------------------
   FIX SAFARI / FIREFOX (OPTION BACKGROUND RESET)
-------------------------------------------------------------------*/
    .glass-select option,
    .glass-select optgroup {
        -webkit-appearance: none;
    }

/*Multi select*/
.tagify-teleport-dropdown {
    position: absolute;
    z-index: 999999 !important;
}

.tagify__dropdown {
    max-height: 250px;
    overflow-y: auto;
    border-radius: 8px;
}
/* ===== ADD PROJECT BUTTON ===== */
.glass-btn-add {
    padding: 10px 20px;
    border-radius: 14px;
    border: 1px solid rgba(254, 238, 255, .4);
    background: linear-gradient( 135deg, #977dff, #b34ff6 );
    color: white;
    font-weight: 700;
    box-shadow: 0 0 5px rgba(151, 125, 255, .75), inset 0 0 5px rgba(254, 238, 255, .35);
    transition: .25s ease;
}

    .glass-btn-add:hover {
        box-shadow: 0 0 8px rgba(179, 79, 246, .9), inset 0 0 8px rgba(254, 238, 255, .45);
    }

/* WRAPPER GLASS */
.glass-progress {
    width: 100%;
    height: 8px;
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(254, 238, 255, 0.25);
    box-shadow: inset 0 0 8px rgba(254, 238, 255, 0.25);
}

/* BAR */
.glass-progress-bar {
    height: 100%;
    transition: width 0.5s ease;
    border-radius: inherit;
}

/* === COLOR STATES === */

/* RED (<30%) */
.progress-red {
    background: linear-gradient(135deg, #ff6b6b, #d62839);
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.65);
}

.text-red {
    color: #ff6b6b !important;
}

/* YELLOW (30–79%) */
.progress-yellow {
    background: linear-gradient(135deg, #f3c94e, #e0a700);
    box-shadow: 0 0 5px rgba(243, 201, 78, 0.55);
}

.text-yellow {
    color: #f3c94e !important;
}

/* GREEN (>=80%) */
.progress-green {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    box-shadow: 0 0 5px rgba(74, 222, 128, 0.6);
}

.text-green {
    color: #22c55e !important;
}

/*Modal*/
/* ===============================
   MODAL CONTAINER (Glass sáng)
=============================== */
.modal-content {
    background: rgba(255, 255, 255, 0.30); /* sáng hơn */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px; /* yêu cầu */
    border: 1px solid rgba(179, 79, 246, 0.20); /* tím pastel nhẹ */

    box-shadow: 0 4px 20px rgba(0,0,0,0.18); /* nhẹ lại */

    overflow: hidden;
}

/* ===============================
   HEADER
=============================== */
.modal-header {
    background: rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(179, 79, 246, 0.15);
    color: #511f9e;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

/* Close button */
.modal-header .btn {
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.35);
    background: linear-gradient( 135deg, rgba(255,255,255,.45), rgba(239,68,68,.25) );
    color: #ef4444;
    transition: .25s;
}

    .modal-header .btn:hover {
        background: rgba(239,68,68,0.20);
        color: #b91c1c;
    }

/* ===============================
   BODY
=============================== */
.modal-body {
    padding: 22px;
    color: #3d2d72;
}

/* ===============================
   FOOTER
=============================== */
.modal-footer {
    background: rgba(255, 255, 255, 0.22);
    border-top: 1px solid rgba(179, 79, 246, 0.15);
}

/* Cancel button – Soft Red Glass */
.modal .btn-cancel {
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    /* ĐỎ NEON RÕ – KHÔNG BỊ CHÌM */
    color: #ff6b81;
    /* NỀN GLASS đỏ sáng hơn */
    background: rgba(255, 77, 109, 0.18);
    border: 1px solid rgba(255, 77, 109, 0.55);
    backdrop-filter: blur(8px);
    transition: all .25s ease;
    /* glow neon mềm nhưng nổi */
    box-shadow: 0 0 5px rgba(255, 77, 109, .45);
}

    .modal .btn-cancel:hover {
        background: rgba(239, 68, 68, 0.28);
        color: #ffffff; /* hover trắng sáng */
        border-color: rgba(239, 68, 68, 0.65);
        box-shadow: 0 0 10px rgba(239, 68, 68, .55);
    }


/* Submit button – Soft Green Glass */
.modal .btn-submit {
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    /* ✨ Chữ tím pastel – nổi nhất trên nền trắng */
    color: #8f3de4;
    /* ✨ Nền glass tím nhẹ */
    background: rgba(179, 79, 246, 0.15);
    border: 1px solid rgba(179, 79, 246, 0.35);
    backdrop-filter: blur(8px);
    transition: all .25s ease;
    /* ✨ Glow tím neon */
    box-shadow: 0 0 5px rgba(179, 79, 246, .35);
}

    .modal .btn-submit:hover {
        background: rgba(179, 79, 246, 0.25);
        color: #ffffff; /* white khi hover cho độ tương phản cao */
        border-color: rgba(179, 79, 246, 0.55);
        /* Glow mạnh hơn */
        box-shadow: 0 0 10px rgba(179, 79, 246, .55);
    }


/* ==== GROUP CARD ==== */
.group-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 10px 15px;
    margin: 12px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0px 5px rgba(0,0,0,0.25);
}

/* HEADER */
.group-header h1, .group-header h2, .group-header h3, .group-header h4, .group-header h5, .group-header h6 {
    color: #511f9e;
    font-weight: 600;
    margin: 0;
}

.group-header i {
    cursor: pointer;
    transition: 0.25s ease;
}

/* ==== STATUS BADGES ==== */
.main-view .badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    transition: 0.25s ease;
}

    .main-view .badge:hover {
        box-shadow: 0 0px 5px rgba(0,0,0,0.35);
    }

/* STATUS TITLE */
.main-view .title {
    font-size: 17px;
    color: #fff;
}

/* DELETE ICON */
.glass-badge .btn-delete {
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    transition: 0.25s ease;
}

    .glass-badge .btn-delete:hover {
        color: #ff4d6d;
    }

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    /* Glass gradient */
    background: linear-gradient( 135deg, rgba(254, 238, 255, 0.20), /* feeeff */
    #b34ff6);
    /* Glass blur */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Glow nhẹ hơn card để tránh quá chói */
    box-shadow: inset 0 0 5px rgba(254, 238, 255, .25), 0 0 5px rgba(151, 125, 255, .25);
    color: #511f9e;
    transition: 0.25s ease;
}

    .glass-badge:hover {
        box-shadow: inset 0 0 5px rgba(254, 238, 255, .35), 0 0 5px rgba(151, 125, 255, .35);
        color: #7f3bff;
    }

    .glass-badge .icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        font-size: 14px;
        color: #fff;
        border-radius: 5px;
        border: 1px solid #fff;
        transition: all 0.25s ease;
    }
/*Table */
/* ============================
   TABLE GLASS STYLE
   ============================ */
.tbl-item {
    width: 100%;
}

    .tbl-item thead {
        background: linear-gradient(135deg, #511f9e, #7b5cf5);
        color: #fff;
    }

        .tbl-item thead th {
            padding: 12px;
            color: #511f9e;
            font-weight: 600;
        }

    /* ROW BODY */
    .tbl-item tbody tr {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, .15);
        border-radius: 8px;
        transition: .25s ease;
    }

        .tbl-item tbody tr:hover {
            background: rgba(151, 125, 255, 0.12);
            box-shadow: 0 0 5px rgba(151,125,255,.25);
        }

        .tbl-item tbody tr td {
            padding: 5px 5px 5px 5px;
            vertical-align: middle;
            color: #ddd;
        }

    /* ============================
   FORM INPUT INSIDE TABLE
   ============================ */
    .tbl-item input.form-control {
        background: rgba(255, 255, 255, .15);
        border: 1px solid rgba(255, 255, 255, .25);
        color: #511f9e;
        border-radius: 8px;
    }

        .tbl-item input.form-control::placeholder {
            color: #511f9e;
        }

/* ============================
   DELETE ICON
   ============================ */
.btn-delete-row {
    font-size: 20px;
    color: #b34ff6;
    transition: .25s ease;
}

    .btn-delete-row:hover {
        color: #ff4d6d;
    }

/* ============================
   IMAGE UPLOAD (Preview Icon)
   ============================ */
.img-upload {
    width: 50px;
    height: auto;
    border-radius: 6px;
    padding: 4px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: .25s ease;
}

    .img-upload:hover {
        background: rgba(151,125,255,.15);
        box-shadow: 0 0 5px rgba(151,125,255,.35);
    }

/* Wrapper tránh icon dính nhau */
/* Group wrapper */
.status-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Base icon style */
.icon-btn {
    font-size: 20px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    /* Glass layer */
    backdrop-filter: blur(6px);
    transition: .25s ease;
}

/* ================================
   REFRESH BUTTON – GREEN GLASS
   ================================ */
/* ================================
   REFRESH BUTTON – BLUE GLASS
   ================================ */
.btn-refresh {
    background: rgba(59, 130, 246, 0.18); /* blue soft (#3b82f6) */
    border: 1px solid rgba(59, 130, 246, 0.45);
    color: #3b82f6; /* main blue */
    box-shadow: 0 0 8px rgba(59, 130, 246, .35);
    backdrop-filter: blur(6px);
    transition: .25s ease;
    border-radius: 8px;
}

    .btn-refresh:hover {
        background: rgba(59, 130, 246, 0.32);
        box-shadow: 0 0 12px rgba(59, 130, 246, .55);
        color: white;
    }

/* ================================
   ADD BUTTON – PURPLE GLASS
   ================================ */
.btn-add {
    background: rgba(179, 79, 246, 0.18); /* purple soft */
    border: 1px solid rgba(179, 79, 246, 0.45);
    color: #b34ff6;
    box-shadow: 0 0 8px rgba(179, 79, 246, .35);
}

    .btn-add:hover {
        background: rgba(179, 79, 246, 0.32);
        box-shadow: 0 0 12px rgba(179, 79, 246, .55);
        color: white;
    }


.input-icon-wrapper {
    position: relative;
    width: 100%;
}

    .input-icon-wrapper i {
        position: absolute;
        top: 50%;
        left: 12px;
        color: #b884ff;
        font-size: 16px;
    }

    .input-icon-wrapper .form-control {
        padding-left: 40px;
        background: rgba(255,255,255,0.12);
        border: 1px solid rgba(151,125,255,0.35);
        backdrop-filter: blur(6px);
        color: white;
    }

        .input-icon-wrapper .form-control:focus {
            border-color: #b34ff6;
            box-shadow: 0 0 12px rgba(179,79,246,.35);
        }

/*Switch*/
/* Wrapper */
.glass-switch {
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    /* LABEL */
    .glass-switch .form-check-label {
        color: #b34ff6; /* tím nhạt sáng dễ đọc */
        font-weight: 500;
        cursor: pointer;
    }

    /* SWITCH BASE */
    .glass-switch .form-check-input {
        width: 42px;
        height: 22px;
        cursor: pointer;
        background-color: rgba(151,125,255,0.25);
        border-color: rgba(151,125,255,0.45);
        transition: all .25s ease;
    }

        /* SWITCH ACTIVE */
        .glass-switch .form-check-input:checked {
            background-color: #b34ff6; /* tím neon */
            border-color: #b34ff6;
            box-shadow: 0 0 5px rgba(179,79,246, .55);
        }

/*Multi Select*/
.ict-select {
    position: relative;
    width: 320px;
    font-family: Arial, sans-serif;
}

/* INPUT */
.ict-select-input {
    border-bottom: 1px solid #ccc;
    padding: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    cursor: text;
}

    .ict-select-input input {
        border: none;
        outline: none;
        flex: 1;
        min-width: 80px;
    }

/* BADGE */
.ict-select-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #e8f2ff;
    color: #0366d6;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 13px;
}

    .ict-select-badge img,
    .ict-select-badge i {
        width: 16px;
        height: 16px;
    }

    .ict-select-badge .remove {
        cursor: pointer;
        font-weight: bold;
    }

/* DROPDOWN */
.ict-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease;
}

    .ict-select-dropdown.show {
        opacity: 1;
        pointer-events: auto;
    }

/* HEADER */
.ict-select-header {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

    .ict-select-header span {
        color: #0366d6;
        cursor: pointer;
    }

/* LIST */
.ict-select-list {
    max-height: 220px;
    overflow-y: auto;
}

.ict-select-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

    .ict-select-item:hover {
        background: #f5f7fa;
    }

    .ict-select-item input {
        pointer-events: none;
    }

.ict-select-group {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background: #f7f8fa;
    border-top: 1px solid #eee;
}

    .ict-select-group:first-child {
        border-top: none;
    }

.ict-select-group {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    background: #f7f8fa;
    border-top: 1px solid #eee;
}

    .ict-select-group input {
        cursor: pointer;
    }

/*Card glass*/
.language-card {
    backdrop-filter: blur(16px);
    min-width: 200px;
    max-width: 200px;
    height: auto;
}

    .language-card:hover {
        box-shadow: inset 0 0 6px rgba(254,238,255,.35), 0 18px 40px rgba(151,125,255,.45);
    }

    .language-card .card-body {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-repeat: no-repeat;
        filter: brightness(.85) saturate(1.1);
    }

    .language-card .card-body {
        position: absolute;
        inset: 0;
        background-image: var(--bg-image);
        background-size: cover;
        background-position: center;
        filter: brightness(.85) saturate(1.1);
        inset: 0; /* 👈 chiếm toàn bộ card */
        justify-content: center; /* căn giữa dọc */
        align-items: center; /* căn giữa ngang */
        pointer-events: none; /* tránh che click icon */
    }

        /* lớp phủ glass để chữ đọc rõ */
        .language-card .card-body::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient( to top, rgba(15,10,30,.75), rgba(15,10,30,.25), transparent );
        }

    .language-card .text {
        display: inline-block;
        margin: 0 auto;
        padding: 6px 16px;
        font-size: 14px;
        font-weight: 600;
        color: #ffffff;
        border-radius: 8px;
        background: linear-gradient( to top, rgba(15,10,30,.75), #b24ff6, transparent );
        box-shadow: 0 0 8px rgba(179,79,246,.6);
    }


/*Tooltip*/
.ict-tooltip-view {
    position: absolute;
    background: linear-gradient( to top, rgba(15,10,30,.75), #b24ff6, transparent );
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity .15s ease;
    --arrow-size: 7px;
    word-wrap: break-word;
    max-width: 200px;
    width: fit-content;
}

    .ict-tooltip-view::after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-style: solid;
    }

    .ict-tooltip-view.show {
        opacity: 1;
    }

    /* TOP */
    .ict-tooltip-view[data-pos="top"]::after {
        bottom: calc(-1 * var(--arrow-size));
        left: 50%;
        transform: translateX(-50%);
        border-width: var(--arrow-size) var(--arrow-size) 0 var(--arrow-size);
        border-color: #1f2937 transparent transparent transparent;
    }

    /* BOTTOM */
    .ict-tooltip-view[data-pos="bottom"]::after {
        top: calc(-1 * var(--arrow-size));
        left: 50%;
        transform: translateX(-50%);
        border-width: 0 var(--arrow-size) var(--arrow-size) var(--arrow-size);
        border-color: transparent transparent #1f2937 transparent;
    }

    /* LEFT */
    .ict-tooltip-view[data-pos="left"]::after {
        right: calc(-1 * var(--arrow-size));
        top: 50%;
        transform: translateY(-50%);
        border-width: var(--arrow-size) 0 var(--arrow-size) var(--arrow-size);
        border-color: transparent transparent transparent #1f2937;
    }

    /* RIGHT */
    .ict-tooltip-view[data-pos="right"]::after {
        left: calc(-1 * var(--arrow-size));
        top: 50%;
        transform: translateY(-50%);
        border-width: var(--arrow-size) var(--arrow-size) var(--arrow-size) 0;
        border-color: transparent #1f2937 transparent transparent;
    }

/*Carousel*/
/* ===== ICT CAROUSEL ===== */
[ict-carousel] {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.ict-carousel-item {
    will-change: transform, opacity;
    transition: none; /* tránh conflict với JS animation */
}

.ict-carousel-inner .background {
    transition: background-image 0.3s ease;
}
.ict-carousel-inner .carousel-items {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.ict-carousel-item {
    position: relative; /* ⭐ QUAN TRỌNG */
    width: 200px;
    height: 100px;
    flex: 0 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

    .ict-carousel-item img {
        width: 200px;
        height: 100px;
        object-fit: cover;
        display: block;
        border-radius: 12px;
    }

    .ict-carousel-navigator.disabled,
    .ict-carousel-item.disabled,
    .ict-carousel-indicators.disabled {
        pointer-events: none;
        opacity: 0.5;
        cursor: not-allowed;
    }

/* GLASS OVERLAY */

.ict-carousel-inner {
    position: relative;
    overflow: hidden;
    flex: 0 0 100%; /* 👈 luôn chiếm 100% viewport carousel */
    width: 100%;
    height: 70vh;
    position: relative;
    box-sizing: border-box;
}

    /* LAYER BACKGROUND */
    .ict-carousel-inner::before {
        content: "";
        position: absolute;
        inset: 0;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        opacity: 1;
        transition: opacity .35s ease;
        z-index: 0;
    }

    .ict-carousel-inner .background {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        z-index: 0;
        display: flex;
        flex-direction: column;
        justify-content: start; /* 👈 căn giữa theo chiều dọc */
        align-items: center; /* 👈 căn giữa theo chiều ngang */
        gap: 12px;
        text-align: center;
    }

    .ict-carousel-inner .title,
    .ict-carousel-inner .description {
        padding: 4px 8px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        color: #111;
        font-size: 12px;
        line-height: 1.2;
        box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    }

    /* TITLE */
    .ict-carousel-inner .title {
        font-weight: 900;
        font-size: 20px;
        margin-top: 50px;
    }

    /* DESCRIPTION */
    .ict-carousel-inner .description {
        font-size: 11px;
        opacity: 0.9;
    }

    .ict-carousel-inner .button {
        background: none;
        border: none;
    }
/* CONTROLS */
/* ===== CAROUSEL NAVIGATOR (GLASS) ===== */
.ict-carousel-navigator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    /* Glass effect */
    background: linear-gradient( 135deg, rgba(190, 110, 255, 0.35), rgba(120, 60, 200, 0.25) );
    backdrop-filter: blur(12px);
    border-radius: 50%;
    border: 1px solid rgba(200, 140, 255, 0.35);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease, opacity .25s ease;
    opacity: 0.9;
    z-index: 5;
}

    /* ICON */
    .ict-carousel-navigator i {
        font-size: 28px;
        color: #fff;
        text-shadow: 0 0 6px rgba(220, 160, 255, 0.8);
    }

    /* POSITION */
    .ict-carousel-navigator.ict-carousel-prev {
        left: 1%;
    }

    .ict-carousel-navigator.ict-carousel-next {
        right: 1%;
    }


    .ict-carousel-navigator:hover {
        transform: translateY(-50%) scale(1.10);
        opacity: 1;
    }

    .ict-carousel-navigator:active {
        transform: translateY(-50%) scale(0.95);
    }


/* INDICATORS */
.ict-carousel-indicators {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

    .ict-carousel-indicators span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        cursor: pointer;
        background: white;
    }

        .ict-carousel-indicators span.active {
            background: white;
        }

/*Table*/
[ict-datatable] .table tr td {
    padding: 5px;
}

    [ict-datatable] .table tr td:first-child {
        padding-left: 15px;
    }
