:root {
    --primary: #1e4d2b;
    --secondary: #28a745;
    --accent: #17a2b8;
    --bg-light: #f4f7f6;
    --sidebar-width: 250px;

    /* Colors */
    --blue: #007bff;
    --red: #dc3545;
    --yellow: #5c4910;
    --white: #fff;
    --gray: #6c757d;
    --dark: #343a40;

    /* Dark Mode Defaults (Modern Slate) */
    --bg-dark: #030712;
    --card-dark: rgba(15, 23, 42, 0.8);
    --border-dark: rgba(255, 255, 255, 0.1);
    --text-dark: #f1f5f9;
    --text-muted-dark: #94a3b8;
}

/* =========================================
   DARK MODE
   ========================================= */
[data-theme="dark"] {
    --bg-light: var(--bg-dark);
    --text-color: var(--text-dark);
}

[data-theme="dark"] body {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

[data-theme="dark"] .data-card,
[data-theme="dark"] .stat-box,
[data-theme="dark"] .candidate-card {
    background-color: var(--card-dark);
    border: 1px solid var(--border-dark);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .card-header-custom {
    border-bottom-color: var(--border-dark);
}

[data-theme="dark"] .card-title-custom,
[data-theme="dark"] h2,
[data-theme="dark"] .stat-details h3,
[data-theme="dark"] .candidate-name {
    color: white;
}

[data-theme="dark"] .table {
    color: var(--text-dark);
}

[data-theme="dark"] .table thead th {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 2px solid #00ff9d;
    color: #00ff9d;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 1px;
}

[data-theme="dark"] .table td {
    border-bottom-color: var(--border-dark);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .input-group-text,
[data-theme="dark"] .custom-file-label {
    background-color: #2b2b2b;
    border-color: var(--border-dark);
    color: white;
}

[data-theme="dark"] .modal-content {
    background-color: var(--card-dark);
    color: white;
}

[data-theme="dark"] .text-muted {
    color: var(--text-muted-dark) !important;
}

[data-theme="dark"] .btn-success {
    background: linear-gradient(135deg, #00ff9d 0%, #00cc7a 100%);
    border: none;
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
    transition: all 0.3s;
}

[data-theme="dark"] .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.5);
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #00f3ff 0%, #00adef 100%);
    border: none;
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    transition: all 0.3s;
}

[data-theme="dark"] .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.5);
}

/* =========================================
   BASE STYLES (Mobile First: 0px+)
   ========================================= */
* {
    max-width: 100%;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header */
.top-header {
    background: var(--primary);
    color: white;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 5px;
}

.header-logo i {
    font-size: 1.1rem;
}

.header-logo span {
    font-size: 1.1rem;
    font-weight: 700;
}

.toggle-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-section-top {
    padding: 6px 18px 6px 8px;
    /* Slightly wider right padding */
    background: rgba(255, 255, 255, 0.15);
    /* Translucent white for glass effect */
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default;
    transition: background 0.2s;
}

.admin-avatar-top {
    width: 38px;
    height: 38px;
    background: #2ecc71;
    /* Vibrant Green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.admin-info-top h6 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    color: white;
    line-height: 1.2;
}

.admin-info-top span {
    font-size: 0.7rem;
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.btn-circle {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
}

/* Subtle pulse for specific buttons like SUCCESS (Add) */
.btn-circle.btn-success {
    animation: btn-pulse-green 2s infinite;
}

.btn-circle:hover {
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.btn-circle i {
    margin: 0 !important;
    transition: transform 0.3s ease;
}

.btn-circle:active {
    transform: scale(0.9);
}

@keyframes btn-pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.badge-pill-custom {
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.7rem;
    display: inline-block;
    text-transform: capitalize;
}

.bg-role {
    background-color: #ecf0f1 !important;
    color: #7f8c8d !important;
}

.bg-divisi {
    background-color: #e8f8f5 !important;
    color: #1abc9c !important;
}

/* Sidebar - Hidden by default on mobile */
.sidebar {
    width: 250px;
    height: 100vh;
    background: var(--primary);
    position: fixed;
    left: -250px;
    /* Hidden off-screen */
    top: 0;
    color: white;
    padding-top: 70px;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar.collapsed {
    left: 0;
    /* Shown on mobile when toggled */
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 15px;
}

.pagination .page-link {
    font-size: 15px;
    /* Enforced 15px */
    padding: 10px 18px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #4e73df;
    font-weight: 500;
    transition: all 0.2s;
    margin: 0;
}

.pagination .page-item:first-child .page-link {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.pagination .page-item:last-child .page-link {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.pagination .page-item.active .page-link {
    background: #007bff;
    /* Vibrant Blue from image */
    border-color: #007bff;
    color: white;
    z-index: 3;
}

.pagination .page-link:hover {
    background: #f8f9fa;
    color: #224abe;
    z-index: 2;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background: #fff;
    border-color: #dee2e6;
}

.nav-item {
    padding: 12px 15px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
    background: var(--secondary);
    color: white;
}

.logout-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
    padding: 0 15px;
}

.btn-logout {
    width: 100%;
    background: #e74c3c;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    display: block;
    font-weight: 600;
}

/* Main Content */
.main-content {
    margin-left: 0;
    padding: 80px 10px 20px;
    transition: all 0.3s;
}

h2 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column on smallest mobile */
    gap: 12px;
    margin-bottom: 30px;
}

.stat-box {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--secondary);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(40, 167, 69, 0.1);
    color: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-details h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
}

.stat-details p {
    font-size: 0.8rem;
    margin: 0;
    color: #777;
}

/* Data Cards & Tables */
.data-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card-header-custom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table td,
.table th {
    padding: 8px 5px;
    font-size: 0.75rem;
}



/* Action Buttons (Edit/Delete) */
.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    /* Slightly rounded square as per image */
    color: white !important;
    text-decoration: none !important;
    transition: all 0.2s;
    margin-right: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.btn-edit {
    background-color: #4e73df;
    /* Professional Blue */
}

.btn-delete {
    background-color: #e74a3b;
    /* Professional Red */
}

.btn-action i {
    font-size: 1rem;
}

/* Candidates Card */
.candidate-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.candidate-img-wrapper {
    height: 160px;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.candidate-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.candidate-info {
    padding: 15px;
}

.candidate-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary);
}

.candidate-party {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Dhivehi Cell Styling */
@font-face {
    font-family: 'Faruma';
    src: url('https://cdn.jsdelivr.net/gh/googlei18n/noto-fonts/unhinted/ttf/NotoSansThaana/NotoSansThaana-Regular.ttf');
}

.dhivehi-cell {
    direction: rtl;
    text-align: right;
    font-family: 'Faruma', sans-serif;
    font-size: 0.9rem;
}

/* Clickable Name Styling */
.voter-name-btn {
    cursor: pointer;
    color: #4e73df;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    border: 1px transparent solid;
}

.voter-name-btn:hover {
    background: rgba(78, 115, 223, 0.1);
    border-color: #4e73df;
    text-decoration: underline;
}

.voter-selected-row {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

.voter-selected-name {
    background: #28a745 !important;
    color: white !important;
}

.candidate-card.selecting {
    border: 2px solid #28a745;
    transform: scale(1.02);
}

.candidate-quick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    background: #f8f9fa !important;
}

.modal-xl {
    max-width: 90% !important;
}

.selection-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.show-selection .selection-content {
    display: flex !important;
}

.show-selection .selection-placeholder {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   MOBILE RESPONSIVENESS (Below 576px)
   ========================================= */
@media (max-width: 575.98px) {
    .main-content {
        padding: 85px 15px 30px !important;
    }

    .card-header-custom>div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px;
    }

    .card-header-custom .d-flex.align-items-center {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    #voters-table-title {
        font-size: 1.1rem;
        line-height: 1.3;
        width: 100%;
    }

    #file-switcher {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 5px;
    }

    .admin-info-top {
        display: block;
        /* Show name but optimized for mobile */
    }

    .admin-info-top h6 {
        font-size: 0.65rem;
    }

    .admin-info-top span {
        font-size: 0.55rem;
    }

    .admin-section-top {
        padding: 4px 12px 4px 6px;
        gap: 6px;
    }

    .admin-avatar-top {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .header-logo span {
        font-size: 0.85rem;
    }

    .card-title-custom {
        font-size: 1.1rem;
    }
}

/* Global Android / Mobile Font Fix */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Landscape Mode Adjustments */
@media (max-height: 500px) {
    .main-content {
        padding-top: 70px !important;
    }

    .top-header {
        height: 55px;
    }
}

/* =========================================
   TABLETS (min-width: 576px)
   ========================================= */
@media (min-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-header-custom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .table td,
    .table th {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
}

/* =========================================
   DESKTOPS / LARGE SCREENS (min-width: 992px)
   ========================================= */
@media (min-width: 992px) {
    .top-header {
        height: 70px;
        padding: 0 25px;
    }

    .header-logo span {
        display: inline;
        font-size: 1.4rem;
    }

    .sidebar {
        left: 0;
        /* Always visible on desktop */
        transition: none;
        padding-top: 80px;
    }

    .sidebar.collapsed {
        left: -250px;
        /* Toggle off for "expanded view" on desktop */
    }

    .main-content {
        margin-left: var(--sidebar-width);
        padding: 100px 40px 40px;
    }

    .main-content.expanded {
        margin-left: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-box {
        padding: 25px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stat-details h3 {
        font-size: 1.5rem;
    }

    .data-card {
        padding: 25px;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Overlay for candidate actions */
.candidate-actions-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.candidate-img-wrapper:hover .candidate-actions-overlay {
    opacity: 1;
}

.btn-action {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    text-decoration: none !important;
}

.btn-edit {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    margin-right: 8px;
}

.btn-delete {
    background: linear-gradient(135deg, #e74a3b 0%, #be2617 100%);
}

.btn-action:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    color: white !important;
}

.btn-action i {
    font-size: 0.9rem;
}

.candidate-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 2;
}

.candidate-placeholder {
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.1);
}

/* Dashboard Party Buttons */
.dashboard-party-btn {
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    border: 1px solid #eee;
}

.dashboard-party-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.mdp-btn {
    border-bottom: 5px solid #f1c40f;
    color: #f1c40f;
}

.pnc-btn {
    border-bottom: 5px solid #00a8a8;
    color: #00a8a8;
}

.ind-btn {
    border-bottom: 5px solid #e91e63;
    color: #e91e63;
}

.text-mdp {
    color: #f1c40f !important;
}

.text-pnc {
    color: #00a8a8 !important;
}

.text-ind {
    color: #e91e63 !important;
}

.result-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
    border: 10px solid #fff;
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
}

.result-circle::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 50%;
    z-index: 1;
}

.result-circle span {
    position: relative;
    z-index: 2;
}

/* =========================================
   ANDROID PORTRAIT OPTIMIZATIONS
   ========================================= */
@media (max-width: 480px) {
    .top-header {
        height: 60px;
        padding: 0 12px;
    }

    .header-logo span {
        font-size: 1rem;
    }

    .admin-info-top h6 {
        font-size: 0.7rem;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-info-top span {
        display: none;
        /* Hide role on small portrait to save space */
    }

    /* Enforce 15px for stats as requested */
    .stat-details h3 {
        font-size: 15px !important;
    }

    .stat-details p {
        font-size: 12px;
    }

    .stat-box {
        padding: 12px;
        gap: 10px;
    }

    .stat-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* Enforce 15px for table info/pagination */
    .dataTables_info,
    .pagination .page-link {
        font-size: 15px !important;
    }

    .main-content {
        padding: 80px 10px 20px;
    }

    /* Sidebar Overlay */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .sidebar.collapsed~.sidebar-overlay {
        display: block;
    }
}

/* Landscape Android / Small height optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .top-header {
        height: 50px;
    }

    .sidebar {
        padding-top: 60px;
    }

    .main-content {
        padding-top: 70px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stat-details h3 {
        font-size: 15px !important;
    }
}

/* Scrollbars */
.table-responsive::-webkit-scrollbar {
    height: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* =========================================
   DARK MODE OVERRIDES (Applied Last)
   ========================================= */
[data-theme="dark"] {
    --bg-light: var(--bg-dark);
    --text-color: var(--text-dark);
}

[data-theme="dark"] body {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

/* Force dark card styles with !important to override defaults */
[data-theme="dark"] .data-card,
[data-theme="dark"] .stat-box,
[data-theme="dark"] .candidate-card {
    background-color: var(--card-dark) !important;
    border: 1px solid var(--border-dark) !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-dark);
}

[data-theme="dark"] .card-header-custom {
    border-bottom: 1px solid var(--border-dark);
}

[data-theme="dark"] .card-title-custom,
[data-theme="dark"] h2,
[data-theme="dark"] .stat-details h3,
[data-theme="dark"] .candidate-name {
    color: white !important;
}

[data-theme="dark"] .table {
    color: var(--text-dark);
}

[data-theme="dark"] .table thead th {
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 2px solid #00ff9d !important;
    color: #00ff9d !important;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 1px;
}

[data-theme="dark"] .table td {
    border-bottom: 1px solid var(--border-dark);
}

/* Inputs & Modals */
[data-theme="dark"] .form-control,
[data-theme="dark"] .input-group-text,
[data-theme="dark"] .custom-file-label,
[data-theme="dark"] select.form-control {
    background-color: #1e293b !important;
    border: 1px solid var(--border-dark) !important;
    color: white !important;
}

[data-theme="dark"] .modal-content {
    background-color: #0f172a !important;
    /* Dark Slate */
    border: 1px solid var(--border-dark);
    color: white;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
    border-color: var(--border-dark);
}

[data-theme="dark"] .close {
    color: white;
    text-shadow: none;
    opacity: 0.8;
}

[data-theme="dark"] .text-muted {
    color: var(--text-muted-dark) !important;
}

/* Neon Buttons */
[data-theme="dark"] .btn-success {
    background: linear-gradient(135deg, #00ff9d 0%, #00cc7a 100%);
    border: none;
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #00f3ff 0%, #00adef 100%);
    border: none;
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}