:root {
    --purple-1: #301934;
    /* Dark Purple */
    --purple-2: #4B0082;
    /* Indigo/Deep Purple */
    --gold-1: #FFD700;
    /* Bright Gold */
    --gold-2: #F0E68C;
    /* Khaki/Light Gold */
    --text-color: #FFFFFF;
    /* White for Contrast */

}


body {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.admin-login-page {
    background-image: url(../img/royalking-admin.png);
    background-size: cover;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: top center;
}

.login-box {
    background: rgba(30, 8, 45, 0.7);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1.5px solid rgba(179, 133, 222, 0.5);
    padding: 40px;
    color: #f0e6ff;
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
}

.input-box label {
    font-size: 0.85rem;
    color: #f0e6ff;
    margin-bottom: 7px;
    font-weight: 600;
    display: block;
}

.input-login {
    background: rgba(20, 5, 30, 0.6) !important;
    border: 1px solid rgba(179, 133, 222, 0.6) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.password-input {
    position: relative;
}

.password-input .eye-icon {
    right: 18px;
    width: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.login-btn {
    width: 100%;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(145deg, #f9df7c, #e0b44a, #d4a73d);
    color: #1a0f29;
    box-shadow: 0 5px 15px rgba(224, 180, 74, 0.5), inset 0 -2px 5px rgba(0, 0, 0, 0.2), inset 0 2px 5px rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease-in-out;
    outline: none;
    display: block;
    text-align: center;
    text-decoration: none;
}

.login-btn:hover {
    background: linear-gradient(145deg, #d4a73d, #e0b44a, #f9df7c);
    box-shadow: 0 8px 25px rgba(224, 180, 74, 0.7), inset 0 -2px 5px rgba(0, 0, 0, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.input-login::placeholder {
    color: rgba(240, 230, 255, 0.5);
}

.input-login:focus {
    background: rgba(30, 8, 45, 0.8) !important;
    border-color: #d1b3ff !important;
    box-shadow: 0 0 15px rgba(209, 179, 255, 0.7) !important;
    outline: none !important;
}

/* dasboard */

.admin-main {
    display: flex;
    height: 100vh;
    background-color: #F6F1D3;
}

.aside-section {
    width: 340px;
    background-color: rgb(22, 2, 22);
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
    overflow: hidden;
    overflow-y: scroll;
}

.aside-section::-webkit-scrollbar {
    display: none;
}

.right-section {
    width: 100%;
    height: 100vh;
}

.main-page {
    padding: 10px 0;
    overflow-y: scroll;
    height: calc(100vh - 80px);
}

.aside-section .admin-logo {
    padding: 14px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(247, 169, 11, 0.1);
    margin-bottom: 20px;
    height: 80px;
}

.aside-section .admin-logo img.img-fluid {
    max-width: 90%;
    height: auto;
}

.left-navbar {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.left-navitem {
    width: 100%;
    position: relative;
    margin-bottom: 8px;
    padding: 0 5px;
}

.left-navlink {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 14px 18px;
    color: rgb(224, 203, 224);
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    gap: 10px;
}


.left-navlink:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(3px);
}

.left-navlink::after {
    content: '';
    position: absolute;
    left: 18px;
    bottom: -2px;
    height: 3px;
    width: 0;
    background-color: #f7a90b;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.3s ease;
}

.left-navlink:hover::after {
    width: calc(100% - 36px);
    opacity: 1;
}

.left-navlink.active {
    background: linear-gradient(135deg, rgba(144, 43, 144, 0.3) 0%, rgba(90, 8, 90, 0.3) 100%);
    color: rgb(255, 255, 255);
    border: 1px solid rgba(247, 169, 11, 0.2);
    font-weight: 600;
}

.left-navlink.active::before {
    content: '';
    position: absolute;
    right: 0px;
    top: 15%;
    height: 70%;
    width: 6px;
    background-color: #f7a90b;
    border-radius: 4px 0 0 4px;
    opacity: 0.9;
}

.left-navicon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.left-navicon img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.left-navlink:hover .left-navicon img,
.left-navlink.active .left-navicon img {
    filter: brightness(1);
}

.left-navlink span:not(.left-navicon) {
    letter-spacing: 0.8px;
    font-weight: 500;
}


.admin-header {
    background-color: rgb(22, 2, 22);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid rgba(247, 169, 11, 0.1);
    width: 100%;
    height: 80px;
}

.admin-header .menu-btn {
    background: transparent;
    border: 2px solid rgba(224, 203, 224, 0.2);
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.admin-header .menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #f7a90b;
    transform: scale(1.05);
}

.admin-header .menu-btn img {
    width: 20px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.admin-header .menu-btn:hover img {
    opacity: 1;
}

.admin-header .ad-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-header .notification-icon {
    background: rgba(144, 43, 144, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(247, 168, 11, 0.342);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.admin-header .notification-icon img {
    width: 20px;
}

.admin-header .profile-drop {
    display: flex;
    align-items: center;
}

.admin-header .profile-drop .dropdown-toggle {
    background: transparent !important;
    border: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.admin-header .profile-drop .dropdown-toggle:focus {
    box-shadow: none !important;
}

.admin-header .profile-drop img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(247, 169, 11, 0.2);
    transition: all 0.3s ease;
}

.admin-header .profile-drop:hover img {
    border-color: #f7a90b;
    transform: scale(1.05);
}

.admin-header .dropdown-menu {
    background-color: rgb(22, 2, 22);
    border: 1px solid rgba(247, 169, 11, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    margin-top: 15px !important;
    padding: 8px;
    min-width: 200px;
    text-align: center;
}

/* 🔥 Logout Button */
.logout-admin {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    /* 🔥 Outline gradient */
    border: 1.5px solid transparent;
    background: linear-gradient(#160216, #160216) padding-box,
        linear-gradient(135deg, #ff4d4d, #ff0000) border-box;

    color: #ff6b6b;

    transition: all 0.25s ease;
    width: 100%;
    align-items: center;
    justify-content: center;
}

/* Icon */
.logout-admin i {
    font-size: 13px;
}

/* 🔥 Hover */
.logout-admin:hover {
    background: linear-gradient(135deg, #ff4d4d, #ff0000);
    color: #fff;

    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 0, 0, 0.4);
}

/* Click */
.logout-admin:active {
    transform: scale(0.95);
}

.admin-header .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(247, 169, 11, 0.2);
}

.admin-header .dropdown-item {
    color: rgb(224, 203, 224);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.admin-header .dropdown-item:hover {
    background: rgba(144, 43, 144, 0.2);
    color: #fff;
    transform: translateX(3px);
}

.inner-accordion .inner-accordion-item,
.left-navitem.accordion-item {
    width: 100%;
    position: relative;
    margin-bottom: 8px;
    padding: 0 5px;
    background-color: transparent;
    border: none;
    border-radius: 0px;
}

.left-navitem.accordion-item .left-accordion-btn-1 {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 14px 18px;
    color: rgb(224, 203, 224);
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: transparent;
    border: none;
    box-shadow: none;
    gap: 10px;
}

.left-navitem.accordion-item .left-accordion-btn-1:after {
    filter: invert(1);
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
}

.left-navbar .left-accordion-btn-1 {
    background-color: transparent;
    color: rgb(224, 203, 224);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.left-navbar .left-accordion-btn-1:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(3px);

}

.left-navbar .left-accordion-btn-1:not(.collapsed) {
    background: linear-gradient(135deg, rgba(144, 43, 144, 0.3) 0%, rgba(90, 8, 90, 0.3) 100%) !important;
    color: rgb(255, 255, 255) !important;
    border: 1px solid rgba(247, 169, 11, 0.2) !important;
    font-weight: 600;
}

.left-navbar .left-accordion-btn-1:not(.collapsed)::before {
    content: '';
    position: absolute;
    right: 0px;
    top: 15%;
    height: 70%;
    width: 6px;
    background-color: #f7a90b;
    border-radius: 4px 0 0 4px;
    opacity: 0.9;
}

.left-navbar .left-accordion-btn-1:not(.collapsed) .left-navicon img {
    opacity: 1;
    filter: brightness(1);
}

.inner-accordion {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    list-style-type: none;
    margin: 0;
}

.inner-accordion {
    list-style: none !important;
    padding: 0 !important;
    margin: 3px 0 0 0 !important;
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.03);
}

.inner-accordion-item {
    margin-bottom: 2px !important;
}


.inner-accordion .inner-accordion-link-2,
.inner-accordion .inner-accordion-btn-2 {
    background-color: transparent !important;
    color: rgb(200, 180, 200) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    padding: 10px 15px 10px 30px !important;
    border: none !important;
    box-shadow: none !important;
    text-align: left;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 8px;
    text-decoration: none;
}

.inner-accordion .inner-accordion-btn-2:after {
    filter: invert(1);
    width: 0.8rem;
    height: 0.8rem;
    background-size: 0.8rem;
    margin-left: auto;
}

.inner-accordion .inner-accordion-link-2:hover,
.inner-accordion .inner-accordion-btn-2:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #fff !important;
    transform: translateX(2px);
}

.inner-accordion .inner-accordion-link-2.active,
.inner-accordion .inner-accordion-btn-2:not(.collapsed) {
    background: rgba(255, 255, 255, 0.04) !important;

    color: rgb(255, 255, 255) !important;
    font-weight: 500 !important;

    border: 1px solid #f7a80b25 !important;
}

.inner-accordion .inner-accordion-link-2.active::before,
.inner-accordion .inner-accordion-btn-2:not(.collapsed)::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 25%;
    height: 50%;
    width: 3px;
    background-color: #f7a90b;
    border-radius: 4px;
}


.accordion-inner-2 {
    display: flex;
    flex-direction: column;
    margin: 0;
    list-style-type: none;
    padding: 8px;
    background-color: #32182d;
    border-radius: 6px;
}


.accordion-inner-liner {
    display: block;
    padding: 10px;
    color: rgb(180, 160, 180);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.accordion-inner-liner:hover {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    text-decoration: none;
}


.accordion-inner-liner.active {
    background: rgb(54 11 54);
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    border-left: 3px solid #f7a90b;
}

.accordion-collapse-inner {
    padding: 4px 8px;
}

.stat-card {
    padding: 25px;
    border-radius: 16px;
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.stat-card h3 {
    margin: 10px 0 0 0;
    font-size: 28px;
    font-weight: 700;
}

.stat-card.purple {
    background: linear-gradient(135deg, #8e44ad, #6c3483);
}

.stat-card.pink {
    background: linear-gradient(135deg, #e91e63, #c2185b);
}

.stat-card.blue {
    background: linear-gradient(135deg, #2196f3, #1976d2);
}

.stat-card.orange {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.stat-card.red {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.stat-card.green {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.page-heading {
    font-family: 'Arial', sans-serif;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
    background: linear-gradient(to right, #8e44ad, #5e2c7d, #8e44ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    word-break: break-word;
}

.aside-section.aside-small-section {
    width: 100px;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    top: 0;
}

.aside-section.aside-small-section .admin-logo .logo-desktop,
.aside-section .admin-logo .logo-mobile {
    display: none;
}

.aside-section .admin-logo .logo-desktop,
.aside-section.aside-small-section .admin-logo .logo-mobile {
    display: block;
}

.aside-section.aside-small-section .navlink-name {
    display: none;
}

.aside-section.aside-small-section .left-navitem.accordion-item .left-accordion-btn-1,
.aside-section.aside-small-section .left-navlink {
    justify-content: center;
}

.aside-section.aside-small-section .left-navitem.accordion-item .left-accordion-btn-1::after {
    display: none;
}

.custom-tooltip {
    position: fixed;
    background: #2b0a3d;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;

    white-space: nowrap;
    pointer-events: none;

    opacity: 0;
    transition: 0.2s ease;
    z-index: 9999;
}

/* Arrow */
.custom-tooltip::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);

    border-width: 6px;
    border-style: solid;
    border-color: transparent #2b0a3d transparent transparent;
}

.glass-table-container {
    padding: 0px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.table-admin-one {
    margin: 0;
}


.table-admin-one th {
    background: #2d0b2d !important;
    color: #f5b32e !important;
    background: #f6f1d3 !important;
    color: #160216 !important;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 12px 10px !important;
    border: 1px solid #2d0b2d !important;
}


.table-admin-one tr {
    border-bottom: 1px solid #2d0b2d;
}

.table-admin-one td {
    color: black;
    padding: 6px 16px;
    vertical-align: middle;
    border: 1px solid #2d0b2d;

}

.badge {
    color: rgb(17, 0, 0);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 14px;
    border: 1px solid white;
}

.badge.badge-active {
    background-color: green;
}

.badge.badge-inactive {
    background-color: red;
}

.badge.badge-pending {
    background-color: yellow;
}

.btn-edit,
.btn-lock,
.btn-delete {
    height: 36px;
    width: 36px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    font-size: 14px;
    transition: all 0.25s ease;
}

/* ✏️ Edit Button */
.btn-edit {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* 🔒 Lock Button */
.btn-lock {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #000;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.btn-lock:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.6);
}

/* ❌ Delete Button */
.btn-delete {
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.6);
}

.new-user-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;
    border-radius: 8px;
    border: none;

    font-size: 16px;
    font-weight: 600;

    color: #fff;
    cursor: pointer;

    background: linear-gradient(135deg, #6a0dad, #9c27b0);
    /* purple */
    box-shadow: 0 4px 12px rgba(106, 13, 173, 0.4);

    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon size */
.new-user-add i {
    font-size: 13px;
}

/* Hover Effect */
.new-user-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(106, 13, 173, 0.6);
}

/* Active click */
.new-user-add:active {
    transform: scale(0.96);
}

.page-hedding-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

/* Modal box */
.admin-modal-one .modal-content {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Header */
.admin-modal-one .modal-header {
    border-bottom: 1px solid #f1f1f1;
    padding: 16px 20px;
}

.admin-modal-one .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

/* Close button */
.admin-modal-one .btn-close {
    opacity: 0.6;
}

.admin-modal-one .btn-close:hover {
    opacity: 1;
}

/* Body */
.admin-modal-one .modal-body {
    padding: 20px;
}

/* Labels */
.admin-modal-one .modal-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    display: block;
}

/* Inputs */
.admin-modal-one .modal-input,
.admin-modal-one .form-select {
    height: 42px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 13px;
    padding: 0 12px;
    transition: all 0.2s ease;
}

/* Focus effect (soft premium) */
.admin-modal-one .modal-input:focus,
.admin-modal-one .form-select:focus {
    border-color: #7a5cff;
    box-shadow: 0 0 0 3px rgba(122, 92, 255, 0.15);
}

.admin-modal-one .addnew-user {
    width: 100%;
    padding: 11px;
    border-radius: 8px;
    border: none;

    background: linear-gradient(135deg, #2d0a5a, #4b0082);
    /* dark purple */
    color: #fff;

    font-size: 14px;
    font-weight: 500;

    transition: all 0.25s ease;
}

/* Hover */
.admin-modal-one .addnew-user:hover {
    background: linear-gradient(135deg, #3a0d73, #5a0bb5);
    box-shadow: 0 6px 14px rgba(75, 0, 130, 0.35);
    transform: translateY(-1px);
}

/* Active */
.admin-modal-one .addnew-user:active {
    transform: scale(0.97);
}

/* Select dropdown fix */
.admin-modal-one select option {
    background: #fff;
    color: #333;
}

.changeps-username {
    font-size: 16px;
    margin: 0;
}

/* Label */
.admin-label-one {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff7ca;
    display: block;
}

/* 🔥 Input + Select common style */
.admin-input-one,
.admin-select-one {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;

    background: #fff7ca;
    border: 1px solid #160216;
    color: #160216;

    font-size: 16px;
    outline: none;

    transition: 0.25s ease;
}

/* Placeholder */
.admin-input-one::placeholder {
    color: #5a3a5a;
    opacity: 0.7;
}

/* 🔥 Focus effect */
.admin-input-one:focus,
.admin-select-one:focus {
    border-color: #7a5cff;
    box-shadow: 0 0 0 3px rgba(122, 92, 255, 0.25);
}

/* 🔥 Select arrow custom */
.admin-select-one {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23160216' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5H5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
}

/* Hover effect */
.admin-input-one:hover,
.admin-select-one:hover {
    border-color: #7a5cff;
}

/* Disabled */
.admin-input-one:disabled,
.admin-select-one:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.admin-card-one {
    width: 100%;
    border-radius: 4px;
    background: linear-gradient(to bottom, #160216, #22042a);
    border: 1px solid rgba(123, 97, 255, 0.2);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(123, 97, 255, 0.25);

    color: #fff;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.admin-card-one .table-responsive {
    border-radius: 10px;
    overflow: hidden;
    overflow-x: scroll;
}

.admin-card-one .table-responsive::-webkit-scrollbar {
    display: none;
}

.admin-card-header {
    padding: 16px 12px;
    border-bottom: 1px solid #f6f1d3;
}

.admin-card-body {
    padding: 20px;
}

.admin-card-one .admin-card-heading {
    font-size: 18px;
    margin: 0;
}

/* Container */
.admin-check-one {
    display: flex;
    gap: 20px;
    background: #fff7ca;
    padding: 10px;
    border-radius: 6px;
    flex-wrap: wrap;

}

.admin-check-one .form-check {
    padding: 0;
    margin: 0;
}

/* Hide default radio */
.admin-check-one .form-check-input {
    display: none;
}

/* Label style */
.admin-check-one .form-check-label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    color: #160216;
    font-size: 14px;
    user-select: none;
    font-weight: 600;
}

/* Custom circle */
.admin-check-one .form-check-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;

    width: 18px;
    height: 18px;
    border-radius: 50%;

    border: 2px solid #160216;
    background: transparent;

    transition: 0.25s ease;
}

/* Inner dot */
.admin-check-one .form-check-label::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 7px;

    width: 8px;
    height: 8px;
    border-radius: 50%;

    background: #160216;
    transform: scale(0);
    transition: 0.25s ease;
}

/* Checked state */
.admin-check-one .form-check-input:checked+.form-check-label::after {
    transform: scale(1);
}

/* Glow effect on checked */
.admin-check-one .form-check-input:checked+.form-check-label::before {
    box-shadow: 0 0 8px rgba(182, 92, 255, 0.6);
}

/* Hover */
.admin-check-one .form-check-label:hover::before {
    border-color: #250325;
}


/* 🔥 Gold Premium Button */
.admin-submit-one {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;

    /* 🔥 Gold gradient */
    background: linear-gradient(135deg, #f7d774, #e6b84c, #c9972b);

    color: #160216;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.6px;

    cursor: pointer;
    transition: all 0.25s ease;

    position: relative;
    overflow: hidden;

    /* 🔥 depth + glow */
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 215, 0, 0.5);
}

/* 🔥 Shine effect */
.admin-submit-one::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transition: 0.6s;
}

/* Hover */
.admin-submit-one:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ffe08a, #f7c948, #d4a52f);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(255, 215, 0, 0.8);
}

/* Shine move */
.admin-submit-one:hover::before {
    left: 100%;
}

/* Click */
.admin-submit-one:active {
    transform: scale(0.96);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

/* Disabled */
.admin-submit-one:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Container */
.action-btn-group {
    display: flex;
    gap: 10px;
}

/* Common button */
.admin-action-btn {
    padding: 4px 8px;
    border-radius: 4px;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;

    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    position: relative;
    overflow: hidden;
}



/* 🟢 Approve (Green Outline) */
.admin-action-btn.approve {
    border: 1.5px solid #22c55e;
    color: #4ade80;
}

/* Pending */
.admin-action-btn.pending {
    border: 1.5px solid #eab308;
    color: #eab308;
}

/* Reject */
.admin-action-btn.reject {
    border: 1.5px solid #dc2626;
    color: #dc2626;
}

/* 🔥 Hover fill effect */
.admin-action-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.3s ease;
    border-radius: 0;
}

/* Colors fill */
.admin-action-btn.pending::before {
    background: linear-gradient(135deg, #f7d774, #d4a52f);
}

.admin-action-btn.approve::before {
    background: linear-gradient(135deg, #4ade80, #16a34a);
}

.admin-action-btn.reject::before {
    background: linear-gradient(135deg, #f87171, #dc2626);
}

/* Hover */
.admin-action-btn:hover::before {
    transform: scaleX(1);
}

.admin-action-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Click */
.admin-action-btn:active {
    transform: scale(0.95);
}


.admin-table-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

/* Left side */
.admin-table-top .entries-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff7ca;
    font-size: 14px;
}

/* Select */
.admin-table-top .entries-box select {
    padding: 6px 10px;
    border-radius: 6px;
    background: linear-gradient(135deg, #fff7ca, #ffeaa0);
    border: 1px solid #d4a52f;
    color: #160216;

    font-weight: 600;
    outline: none;
    cursor: pointer;
}

/* Right side */
.admin-table-top .search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff7ca;
    font-size: 14px;
    margin-left: auto;
    flex-wrap: wrap;
}

/* Input */
.admin-table-top .search-box input {
    padding: 7px 10px;
    border-radius: 6px;

    background: #fff7ca;
    border: 1px solid #d4a52f;
    color: #160216;

    outline: none;
    width: 200px;

    transition: 0.25s;
}

/* Focus */
.admin-table-top .search-box input:focus {
    border-color: #7a5cff;
    box-shadow: 0 0 0 2px rgba(122, 92, 255, 0.3);
}

/* Placeholder */
.admin-table-top .search-box input::placeholder {
    color: #5a3a5a;
}

/* Bottom container */
.admin-table-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding: 10px;
    flex-wrap: wrap;
}

/* Left text */
.table-info {
    color: #fff7ca;
    font-size: 13px;
}

/* Pagination */
.table-pagination {
    display: flex;
    gap: 6px;
}

/* Buttons */
.page-btn {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #d4a52f;
    background: transparent;
    color: #fff7ca;
    font-size: 13px;
    cursor: pointer;
    transition: 0.25s;
}

/* Hover */
.page-btn:hover {
    background: linear-gradient(135deg, #fff7ca, #ffd86b);
    color: #160216;
}

/* Active page */
.page-btn.active {
    background: linear-gradient(135deg, #f7d774, #d4a52f);
    color: #160216;
    font-weight: 600;
}


.result-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    gap: 10px;

}

.result-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.result-box .result-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    border: 5px solid #5a0a76;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    color: #5a0066;
    box-shadow: inset 0 0 0.4vw rgba(0, 0, 0, 0.3), 0 0.3vw 0.5vw rgba(0, 0, 0, 0.4);
    display: flex;
    gap: 0.3vh;
}

.result-box .result-circle img {
    width: 30px;
}

.result-box .result-time {
    margin-top: -20px;
    width: 100px;
    height: 30px;
    background: linear-gradient(180deg, #6b007b, #3c0043);
    border: 2px solid #d4af37;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 0.2vw 0.4vw rgba(0, 0, 0, 0.4);
}

.admin-card-heading-two {
    color: #f7d774;
    margin-bottom: 10px;
    font-size: 18px;
}

.text-red {
    color: red !important;
}

.text-green {
    color: green !important;
}

.text-black {
    color: black !important;
}



/* Outer card */
.round-card {
    background: linear-gradient(135deg, #f5f0ff, #e5d6ff);
    padding: 18px 25px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(100, 50, 150, 0.15);
    color: black;
}

.round-card-heading {
    margin: 0;
    font-weight: 600;
}

/* Flex container */
.round-info {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

/* Info items */
.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.round-card .label {
    font-size: 16px;
    font-weight: 500;
    color: #6b4cd1;
    /* Purple shade */
    margin-bottom: 5px;
}

.round-card .value {
    font-size: 20px;
    font-weight: 700;
    color: #3e1f99;
}

/* Status bubble */
.status-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 16px;
    border: 3px solid #9b59b6;
    /* Gold replaced with purple accent */
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(100, 50, 150, 0.15);
}

.status-bubble img {
    width: 16px;
}

/* Status colors adjusted for purple theme */
.status-bubble.red {
    color: #e74c3c;
    /* Red for diamonds/hearts */
    background: #fde8ef;
    border-color: #e74c3c;
}

.status-bubble.green {
    color: #27ae60;
    /* Green if needed */
    background: #e6f8f0;
    border-color: #27ae60;
}

.status-bubble.black {
    color: #000;
    /* Dark purple instead of black */
    background: #f0e6ff;
    border-color: #000;
}

/* Hover effect */
.status-bubble:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 14px rgba(100, 50, 150, 0.25);
}

.suit-icon {
    width: 20px;
    height: 20px;
}

.admin-name {
    color: white;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 2px 3px 5px #8540a2;
}

.enavle-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}




.Maintenance-countdown {
    padding: 12px 15px;
    border-radius: 8px;

    background: linear-gradient(135deg, #f3f4ff, #eef0ff);
    border: 1px solid #dfe3ff;

    font-size: 14px;
    font-weight: 500;
    color: #5b4bdb;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    box-shadow: 0 4px 10px rgba(91, 75, 219, 0.08);
}

/* Active state (jab maintenance ON ho) */
.Maintenance-countdown.active {
    background: linear-gradient(135deg, #e6fff3, #e9fff7);
    border-color: #b6f5d1;
    color: #1a9c5d;
}

/* Inactive state */
.Maintenance-countdown.inactive {
    background: #f8f9fa;
    border-color: #eee;
    color: #999;
}

.maintenance-toggle-box {
    padding: 15px;
    border-radius: 10px;
    background: #f8f9ff;
    border: 1px solid #e6e9ff;
}

/* Switch */
.maintenance-switch {
    width: 50px;
    height: 24px;
    cursor: pointer;
}

.maintenance-switch:checked {
    background-color: #5b4bdb;
    border-color: #5b4bdb;
}

/* Force button */
#forceOffBtn {
    border-radius: 8px;
    font-weight: 500;
    transition: 0.3s;
}

#forceOffBtn:hover {
    background: #dc3545;
    color: #fff;
}











@media screen and (max-width: 992px) {
    .aside-section {
        position: fixed;
        top: 80px;
        left: 0;
        z-index: 9999;
    }
}

@media screen and (max-width: 550px) {

    .admin-name {
        display: none;
    }
}

