/* ============================= */
/*      PREMIUM DARK SIDEBAR    */
/* ============================= */

#layout-menu {
    background: linear-gradient(180deg, #111827, #1f2937);
    border-right: none;
    box-shadow: 4px 0 20px rgba(0,0,0,0.2);
}

/* ===== BRAND ===== */

#layout-menu .app-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0;
}

#layout-menu .app-brand-link {
    width: 100%;
    text-align: center;
}

#layout-menu .app-brand h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
}

/* ===== MENU LINKS ===== */

#layout-menu .menu-link {
    color: #cbd5e1;
    border-radius: 12px;
    margin: 6px 12px;
    padding: 10px 16px;
    transition: all 0.3s ease;
}

#layout-menu .menu-link i {
    color: #94a3b8;
    transition: 0.3s ease;
}

/* Hover */

#layout-menu .menu-link:hover {
    background: rgba(255,255,255,0.06);
    transform: translateX(4px);
    color: #ffffff;
}

#layout-menu .menu-link:hover i {
    color: #ffffff;
}

/* Active */

#layout-menu .menu-item.active > .menu-link {
    background: linear-gradient(90deg, #5f3dc4, #00b894);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(95,61,196,0.4);
}

#layout-menu .menu-item.active > .menu-link i {
    color: #ffffff !important;
}

/* ===== SUBMENU ===== */

#layout-menu .menu-sub .menu-link {
    font-size: 13px;
    color: #9ca3af;
}

#layout-menu .menu-sub .menu-link:hover {
    background: rgba(255,255,255,0.05);
    color: #ffffff;
}


.premium-card,
.premium-footer-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.section-title {
    font-weight: 600;
    font-size: 15px;
    color: #374151;
}

.distribution-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.radio-box:hover {
    background: #eef2ff;
}

.radio-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
    background: #f9fafb;
}

.upload-area i {
    font-size: 36px;
    color: #5f3dc4;
}

.upload-area p {
    margin: 10px 0 4px;
    font-weight: 500;
}

.upload-box:hover {
    background: #f3f4f6;
    border-color: #5f3dc4;
}

.btn-gradient {
    background: linear-gradient(90deg,#5f3dc4,#00b894);
    color: #fff;
    border: none;
    border-radius: 8px;
}

.btn-gradient:hover {
    opacity: 0.9;
}
.file-name {
    font-weight: 500;
    color: #374151;
}

/* ============================= */
/*     PREMIUM ACCOUNT PANEL    */
/* ============================= */

.premium-account-dropdown {
    border: none;
    border-radius: 16px;
    padding: 0;
    min-width: 260px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
    animation: accountSlide 0.25s ease;
}

/* Smooth slide animation */
@keyframes accountSlide {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header Section */
.account-header {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg,#5f3dc4,#00b894);
    color: #fff;
}

/* Avatar */
.account-avatar-wrapper {
    position: relative;
}

.account-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.5);
}

/* Online/Offline Dot */
.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.status-dot.online {
    background: #22c55e;
}

.status-dot.offline {
    background: #ef4444;
}

/* Name */
.account-name {
    font-weight: 600;
    font-size: 14px;
}

.account-role {
    font-size: 12px;
    opacity: 0.85;
}

/* Divider */
.account-divider {
    margin: 0;
}

/* Items */
.account-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    font-size: 14px;
    transition: 0.25s ease;
}

.account-item i {
    font-size: 18px;
}

/* Hover */
.account-item:hover {
    background: rgba(95,61,196,0.08);
    color: #5f3dc4;
}

/* Logout special */
.logout-item:hover {
    background: rgba(220,53,69,0.08);
    color: #dc3545;
}

/* ============================= */
/*      SIDEBAR BRAND FIX       */
/* ============================= */

.premium-brand {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 15px;
}

.premium-brand .app-brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.brand-icon {
    font-size: 22px;
    color: #fff;
}

.brand-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    transition: 0.3s ease;
}

/* COLLAPSED STATE */

.premium-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.logo-badge {
    background: linear-gradient(135deg,#5f3dc4,#00b894);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 8px;
}

.brand-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.layout-menu-collapsed .brand-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.layout-menu-collapsed .premium-brand {
    justify-content: center;
}

.layout-menu-collapsed .brand-icon {
    font-size: 24px;
}

/* Remove submenu dot */

#layout-menu .menu-sub .menu-link::before {
    display: none !important;
    content: none !important;
}

#layout-menu .menu-sub .menu-item::before {
    display: none !important;
    content: none !important;
}



/* ================= USER DASHBOARD PREMIUM ================= */

.welcome-box {
    background: linear-gradient(135deg,#5f3dc4,#00b894);
    color: #fff;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.welcome-box h4 {
    margin: 0;
    font-weight: 600;
    color: #fff;
}

.welcome-box p {
    margin: 5px 0 0;
    opacity: 0.9;
}

/* Card */

.premium-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Header */

.card-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.date-badge {
    background: rgba(95,61,196,0.1);
    color: #5f3dc4;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
}

/* Stat Cards */

.user-stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    border-left: 4px solid transparent;
}

.user-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.user-stat-card.new { border-color: #00b894; }
.user-stat-card.first { border-color: #fdcb6e; }
.user-stat-card.missed { border-color: #ff3b30; }

.stat-icon {
    font-size: 22px;
    color: #5f3dc4;
}

.stat-label {
    font-size: 13px;
    color: #6b7280;
}

.stat-number {
    font-size: 26px;
    font-weight: 700;
}

/* Mini Stats */

.mini-stat {
    background: #f8fafc;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
}

.mini-stat.success { color: #00b894; }
.mini-stat.danger { color: #ff3b30; }


/* Modern Table */

.table-modern thead {
    background: #f9fafb;
}

.table-modern th {
    font-size: 12px;
    text-transform: uppercase;
    color: #6b7280;
}

.table-modern tbody tr:hover {
    background: #f3f4f6;
}

.mini-stat-card {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

.mini-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.mini-stat-label {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 6px;
}

.mini-stat-number {
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

/* Accent Left Border */
.mini-stat-card.total {
    border-left: 4px solid #6c757d;
}

.mini-stat-card.success {
    border-left: 4px solid #28a745;
}

.mini-stat-card.danger {
    border-left: 4px solid #dc3545;
}

.table-modern-wrapper {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.stat-box {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-title {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 5px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #374151;
}

.stat-box.success .stat-number {
    color: #00b894;
}

.stat-box.danger .stat-number {
    color: #ff3b30;
}

.table-wrapper {
    background: #f9fafb;
    border-radius: 12px;
    padding: 15px;
}

.table-modern thead {
    background: #e5e7eb;
}

.table-modern th {
    font-size: 12px;
    text-transform: uppercase;
    color: #4b5563;
}
/* Mini Stat Card - Premium Look */

.mini-stat-pro {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
    overflow: hidden;
    position: relative;
    min-width: 150px;
}

.mini-stat-pro:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.mini-stat-title {
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 6px;
      white-space: nowrap;

}

.mini-stat-value {
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

.mini-stat-pro.total {
    border-left: 4px solid #6c757d;
}

.mini-stat-pro.success {
    border-left: 4px solid #28a745;
}

.mini-stat-pro.danger {
    border-left: 4px solid #dc3545;
}
.mini-stat-skeleton {
    background: #fff;
    padding: 18px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}


/* Modern Form Styling */
.form-group-modern {
    display: flex;
    flex-direction: column;
}

.form-label-modern {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 6px;
}

.form-control-modern {
    border-radius: 10px;
    border: 1px solid #e0e6ed;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.2s ease;
    height: 38px;
}

.form-control-modern:focus {
    border-color: #696cff;
    box-shadow: 0 0 0 2px rgba(105,108,255,0.15);
}

/* Card polish */
.card {
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.05);
}

/* Section spacing */
.card-body {
    padding: 24px;
}

/* Save button polish */
.btn-info {
    border-radius: 10px;
    padding: 6px 20px;
}

.btn-transparent {
    background: transparent;
    border: none;
}
textarea.form-control-modern {
    min-height: 90px;
}