:root {
    --primary: #df580e;
    --primary-dark: #075e5e;
    --secondary: #0f172a;
    --text: #e5e7eb;
    --hover: rgba(255, 255, 255, 0.08);
    --active: #ffffff;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #0ea5e9;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #e5e7eb;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, .08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
}

.sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    color: var(--text);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: transform .35s ease;
    overflow-y: auto;
}

.sidebar-logo {
    padding: 10px;
    margin-bottom: 10px;
}

/* Logo Card */
.logo-card {
    background: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 12px 10px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


/* Logo Image */
.logo-card img {
    max-width: 55px;
    height: auto;
    position: relative;
    z-index: 1;
}

.sidebar-menu {
    flex: 1;
    /* takes remaining height */
    overflow-y: auto;
    /* allow bottom overflow */
    overflow-x: hidden;
    padding-bottom: 20px;
}

/* smooth scrollbar */
.sidebar-menu::-webkit-scrollbar {
    width: 6px;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .3);
    border-radius: 6px;
}

.sidebar.closed {
    transform: translateX(-260px);
}


.sidebar h4 {
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .04);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.sidebar a {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    border-left: 3px solid transparent;
    transition: all .25s ease;
}


.sidebar a i {
    width: 22px;
    text-align: center;
    font-size: 16px;
}

/* Hover */
.sidebar a:hover {
    background: var(--hover);
    border-left: 3px solid #fff;
    padding-left: 24px;
}

.sidebar a.active {
    background: rgba(255, 255, 255, 0.15);
    border-left: 3px solid #fff;
    color: #fff;
    font-weight: 600;
}

.submenu {
    width: 100%;
}

.submenu-toggle {
    cursor: pointer;
}

.submenu-toggle .arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform .3s ease;
}

.submenu-items {
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, .05);
    transition: max-height .35s ease;
}

.submenu-items a {
    padding: 12px 20px 12px 54px;
    font-size: 14px;
}

.submenu.open .submenu-items {
    max-height: 500px;
}

.submenu.open .arrow {
    transform: rotate(90deg);
}

/* Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* ===== Main ===== */
.main-content {
    margin-left: 260px;
    min-height: 100vh;

    transition:
        margin-left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease;

    will-change: margin-left, transform;
}

/* Sidebar collapsed (desktop) */
.main-content.full {
    margin-left: 0;
}

/* Smooth animation effect while toggling */
.main-content.animating {
    opacity: 0.9;
    transform: translateX(12px) scale(0.99);
}

/* Mobile push effect */
.main-content.push {
    transform: translateX(260px);
}

/* Disabled tab style */
.disabled-tab {
    display: flex;
    align-items: center;
    gap: 10px;

    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

/* Prevent click */
.disabled-tab {
    pointer-events: none;
}

/* Coming soon badge */
.badge-coming {
    margin-left: auto;

    font-size: 10px;
    padding: 4px 8px;
    border-radius: 999px;

    background: linear-gradient(135deg, #f59f0b, #f9163c);
    color: #fff;

    font-weight: 600;
    letter-spacing: 0.3px;

    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

/* Optional subtle pulse animation */
.badge-coming {
    animation: pulseBadge 1.8s infinite;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.85;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Full height layout */
.dashboard-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Content takes remaining space */
.dashboard-content {
    flex: 1;
}

/* Footer stays at bottom */
.dashboard-footer {
    font-size: 13px;
    color: #9ca3af;
    padding: 12px 0;

    border-top: 1px solid #e5e7eb;
    background: #fff;
}

/* ===== Topbar ===== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 4px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* ===== Modern Circular Hamburger ===== */
.hamburger-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
    transition: all 0.35s ease;
}

/* Hover (soft modern effect) */
.hamburger-btn:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px) scale(1.05);
}

/* Click press */
.hamburger-btn:active {
    transform: scale(0.92);
}

/* Lines */
.hamburger-btn span {
    width: 18px;
    height: 2px;
    background: #0a7c7c;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(.77, 0, .18, 1);
}

/* ===== Animation: Hamburger → X ===== */
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Glow when active ===== */
.hamburger-btn.active {
    background: #0a7c7c;

}

/* Lines turn white when active */
.hamburger-btn.active span {
    background: #fff;
}

/* ===== Subtle pulse animation ===== */
.hamburger-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(10, 124, 124, 0.15);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.hamburger-btn:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

/* ===== Right Side Icons ===== */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Icon Buttons */
.icon-btn {
    font-size: 20px;
    position: relative;
    cursor: pointer;
    color: #475569;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    padding: 10px;
    border-radius: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.icon-btn:hover {
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Notification Badge */
.notify-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* Profile Section */
.profile-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 12px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.profile-box:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Avatar */
.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--primary), #0ea5a4) border-box;
}

/* Username */
.username {
    font-weight: 600;
    color: #334155;
    font-size: 14px;
}

/* Dropdown Menu */
.dropdown-menu {
    min-width: 220px;
    border-radius: 5px;
    overflow: hidden;
    padding: 4px;
    border: none;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Dropdown Items */
.dropdown-item {
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 5px;
    color: #334155;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--primary);
    color: #fff;
}

.dropdown-item.text-danger:hover {
    background: #ef4444;
    color: #fff;
}

@media(max-width:768px) {
    .sidebar {
        transform: translateX(-260px);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .main-content.push {
        transform: translateX(240px);
    }
    .topbar .form-label {
        display: none;
    }
}


/* ===== Menu Hover Animation ===== */
.sidebar a {
    position: relative;
    overflow: hidden;
}

.sidebar a::before {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: all 0.5s ease;
}

.sidebar a:hover::before {
    left: 100%;
}

/* ===== Icon Hover Animation ===== */
.icon-btn {
    transition: all 0.3s ease;
}

.icon-btn:hover {
    transform: translateY(-4px) scale(1.08);
}

/* ===== Notification Badge Pulse ===== */
.notify-badge {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* ===== Dropdown Animation ===== */
.dropdown-menu {
    animation: dropdownAnim 0.25s ease;
}

@keyframes dropdownAnim {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== Profile Hover Animation ===== */
.profile-box:hover .avatar {
    transform: rotate(5deg) scale(1.08);
}

/* ===== Toggle Button Click Animation ===== */
#toggleBtn:active {
    transform: scale(0.92);
}

/* ===== Submenu Animation ===== */
.submenu-items a {
    opacity: 0;
    transform: translateX(-10px);
    animation: submenuItem 0.3s forwards;
}

.submenu.open .submenu-items a:nth-child(1) {
    animation-delay: 0.05s;
}

.submenu.open .submenu-items a:nth-child(2) {
    animation-delay: 0.1s;
}

.submenu.open .submenu-items a:nth-child(3) {
    animation-delay: 0.15s;
}

.submenu.open .submenu-items a:nth-child(4) {
    animation-delay: 0.2s;
}

@keyframes submenuItem {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ===== Form Inputs ===== */
.form-control {
    border-radius: 5px;
    border: 1px solid var(--border-color);
    padding: 12px 14px;
    font-size: 14px;
    background: #fff;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Hover */
.form-control:hover {
    border-color: var(--primary) !important;
}

/* Focus Style */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0px rgba(25, 167, 206, 0.15);
    outline: none;
    transform: translateY(-1px);
}

/* Placeholder */
.form-control::placeholder {
    color: #94a3b8;
    transition: all 0.2s ease;
}

/* ===== Select ===== */
.form-select {
    border-radius: 5px;
    border: 1px solid var(--border-color);
    padding: 12px 14px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0px rgba(25, 167, 206, 0.15);
    transform: translateY(-1px);
}

/* ===== Buttons ===== */
.btn {
    border-radius: 32px;
    padding: 15px 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Gradient Primary Button */
.btn-primary {
    background: #0a7c7c;
    border: none;
    color: #fff;
}

/* Hover Effect */
.btn-primary:hover {
    transform: translateY(-2px);
}

/* Click Effect */
.btn-primary:active {
    transform: scale(0.96);
}

/* Dark Button */
.btn-dark {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Button Shine Animation */
.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn:hover::after {
    left: 100%;
}

/* ===== Form Label Animation ===== */
.form-group {
    position: relative;
    margin-bottom: 18px;
}

.form-group label {
    position: absolute;
    top: -8px;
    left: 12px;
    background: #fff;
    padding: 0 6px;
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
}

/* ===== Form Card ===== */
.form-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    animation: formFade 0.5s ease;
}

@keyframes formFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Input Icon ===== */
.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #94a3b8;
}

.input-group .form-control {
    padding-left: 38px;
}

/* ===== Card ===== */
.card {
    border: none;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

/* ===== Labels ===== */
.form-label {
    font-weight: 500;
    color: var(--text-dark);
}

/* ===== Input Group ===== */
.input-group-text {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

/* ===== Validation ===== */
.is-invalid {
    border-color: var(--danger);
}

.is-valid {
    border-color: var(--success);
}

/* ===== Smooth Hover ===== */
.form-control:hover {
    border-color: var(--secondary);
}


.table {
    color: var(--text-dark) !important;
    border-color: var(--border-color) !important;
    background-color: var(--bg-card) !important;
}

.table th {
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    color: var(--text-muted) !important;
    background-color: #f1f5f9 !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.table td {
    vertical-align: middle !important;
    border-color: var(--border-color) !important;
}


.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #f8fafc !important;
}

.table-striped>tbody>tr:nth-of-type(even) {
    background-color: #ffffff !important;
}

.table-hover>tbody>tr:hover {
    background-color: rgba(79, 70, 229, .06) !important;
}

.table-bordered {
    border: 1px solid var(--border-color) !important;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--border-color) !important;
}


.table-sm th,
.table-sm td {
    padding: .45rem .6rem !important;
    font-size: .875rem !important;
}

.table-success {
    background-color: rgba(34, 197, 94, .08) !important;
}

.table-danger {
    background-color: rgba(239, 68, 68, .08) !important;
}

.table-warning {
    background-color: rgba(245, 158, 11, .12) !important;
}

.table-info {
    background-color: rgba(14, 165, 233, .10) !important;
}


.tr-success {
    border-left: 4px solid var(--success) !important;
}

.tr-danger {
    border-left: 4px solid var(--danger) !important;
}

.tr-warning {
    border-left: 4px solid var(--warning) !important;
}

.tr-info {
    border-left: 4px solid var(--info) !important;
}


.table-head-primary thead th {
    background-color: rgba(79, 70, 229, .1) !important;
    color: var(--primary) !important;
}

.table-head-dark thead th {
    background-color: var(--text-dark) !important;
    color: #fff !important;
}

/* ================================
   Round Icon Button
================================ */
.btn-round {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-round i {
    font-size: 14px !important;
    line-height: 1 !important;
}

/* Small Size Fix */
.btn-sm.btn-round {
    width: 30px !important;
    height: 30px !important;
    font-size: 13px !important;
}

/* Hover Elevation */
.btn-round:hover {
    transform: translateY(-1px) !important;
}

.pagination {
    gap: .4rem !important;
}


.page-item .page-link {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-color) !important;
    background-color: #ffffff !important;
    color: var(--text-dark) !important;
    padding: .45rem .75rem !important;
    font-weight: 500 !important;
    transition: all .15s ease !important;
}


.page-item .page-link:hover {
    background-color: rgba(79, 70, 229, .08) !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}


.page-item.active .page-link {
    background-color: rgba(79, 70, 229, .15) !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, .25) !important;
}

.page-item.disabled .page-link {
    background-color: #f1f5f9 !important;
    color: var(--text-muted) !important;
    border-color: var(--border-color) !important;
    cursor: not-allowed !important;
}


.page-item:first-child .page-link,
.page-item:last-child .page-link {
    font-weight: 600 !important;
}


.pagination-rounded .page-link {
    border-radius: 999px !important;
}

.pagination-sm .page-link {
    padding: .3rem .55rem !important;
    font-size: .85rem !important;
}

.pagination-shadow {
    padding: .5rem !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-soft) !important;
    background-color: var(--bg-card) !important;
}

.icon-box {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.bg-primary {
    background: var(--primary) !important;
}

.bg-success {
    background: var(--success) !important;
}

.bg-warning {
    background: var(--warning) !important;
}

.page-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    display: none;
}

.spinner {
    width: 45px;
    height: 45px;
    border: 5px solid #e5e5e5;
    border-top: 5px solid #0d6efd;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


.dropzone {
    border: 2px dashed var(--border-color);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 8px;
    /* slightly smaller padding */
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 13px;
    /* smaller text */
    max-width: 300px;
    /* optional: limit dropzone width */
}

/* Hover */
.dropzone:hover {
    border-color: var(--secondary);
    background: #f0fbff;
}

/* Drag Active */
.dropzone.dz-drag-hover {
    border-color: var(--secondary);
    background: rgba(25, 167, 206, 0.08);
}

/* Message */
.dropzone .dz-message {
    font-size: 13px;
    /* smaller font */
    color: var(--text-muted);
}

/* Preview Card */
.dropzone .dz-preview {
    display: inline-block;
    margin: 6px;
    /* smaller margin */
    width: 100%;
    /* width auto */
    /* small fixed height for preview card */
}

/* Image Preview */
.dropzone .dz-image {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.dropzone .dz-image img {
    width: auto;
    /* auto width */
    height: 50px;
    /* small height */
    object-fit: cover;
    /* maintain aspect ratio */
}

/* Remove Button */
.dropzone .dz-remove {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--danger);
    text-decoration: none;
    cursor: pointer;
}

/* Progress Bar */
.dropzone .dz-progress {
    height: 4px;
    /* smaller progress bar */
    background: var(--border-color);
    border-radius: 50px;
    margin-top: 4px;
}

.dropzone .dz-upload {
    background: var(--secondary);
}

/* Success */
.dropzone .dz-success-mark svg {
    fill: var(--success);
}

/* Error */
.dropzone .dz-error-mark svg {
    fill: var(--danger);
}

#settingsTab {
    border-bottom: none;
    gap: 10px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 6px;
    position: relative;
}

#settingsTab::-webkit-scrollbar {
    height: 5px;
}

#settingsTab::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.tab-slider {
    position: absolute;
    height: 40px;
    background: #0a7c7c;
    border-radius: 5px;
    font-weight: 200;
    transition: all 0.35s ease;
    z-index: 0;
}

#settingsTab .nav-link {
    border: none;
    background: transparent;
    color: #475569;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

#settingsTab .nav-link:hover {
    color: #0a7c7c;
    transform: translateY(-2px);
}

#settingsTab .nav-link.active {
    color: #fff;
}

#settingsTab .nav-link.active-anim {
    animation: tabPop 0.35s ease;
}

@keyframes tabPop {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

.tab-content {
    background: #ffffff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    animation: tabFade 0.35s ease;
    margin-top: 10px;
}

@keyframes tabFade {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tab-content {
    position: relative;
    background: #ffffff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Hide all tab panes by default */
.tab-pane {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: all 0.4s ease;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

/* Active tab pane */
.tab-pane.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    position: relative;
    z-index: 2;
}

/* Slide animation */
.tab-pane.slide-left {
    transform: translateX(40px);
    opacity: 0;
}

.tab-pane.slide-right {
    transform: translateX(-40px);
    opacity: 0;
}

/* Fade animation */
.tab-pane.fade-in {
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    animation: tabSmooth 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes tabSmooth {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    50% {
        opacity: 0.5;
        transform: translateY(8px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tab-pane.active {
    animation: tabSmooth 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes tabSmooth {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    50% {
        opacity: 0.5;
        transform: translateY(8px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes tabFade {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Accordion Card */
#emailTemplateAccordion .accordion-item {
    border: none;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    background: #ffffff;
}

/* Hover Effect */
#emailTemplateAccordion .accordion-item:hover {
    transform: translateY(-3px);

}

/* Accordion Header */
#emailTemplateAccordion .accordion-button {
    font-weight: 600;
    font-size: 15px;
    padding: 18px;
    background: #ffffff;
    color: var(--primary);
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

/* Active Header */
#emailTemplateAccordion .accordion-button:not(.collapsed) {
    background: var(--primary);
    color: #fff;
}

/* Arrow Animation */
.accordion-button::after {
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

/* Accordion Body Animation */
.accordion-collapse {
    transition: all 0.35s ease;
}

.accordion-body {
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

/* Fade Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Editor Box */
#welcome_editor,
#blog_editor,
#admin_register_editor,
#reset_editor,
#donation_success_editor,
#admin_donation_editor,
#kyc_approved_editor,
#kyc_reject_editor {
    border-radius: 5px;
    margin-top: 10px;
    border: 1px solid #d0d5dd;
    background: #fff;
    padding: 10px;
}

.payment-box {
    display: none;
}

.payment-card {
    cursor: pointer;
    display: block;
}

.payment-card input {
    display: none;
}

.card-content {
    border: 2px solid #eee;
    border-radius: 5px;
    padding: 18px;
    position: relative;
    transition: all 0.3s ease;
    background: #fff;
}

.payment-card:hover .card-content {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.payment-card input:checked+.card-content {
    border-color: var(--primary);
    background: #f4f8ff;
}

.icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary);
    font-size: 18px;
    display: none;
}

.payment-card input:checked+.card-content .check-icon {
    display: block;
}

