:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --bg-body: #f3f4f6;
    --bg-card: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 0.75rem;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout */
.app-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 90px 10px;
    /* Added padding-top for fixed header */
    flex: 1;
    width: 100%;
}

header {
    background: #ffffff;
    height: 70px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-content {
    max-width: 1600px;
    margin: 0 auto;
    height: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.brand a {
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}



.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

/* Hide hamburger on desktop */
.mobile-menu-btn {
    display: none;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-menu-btn:hover {
    background: #e5e7eb;
}

.nav-links a {
    padding: 0 1.25rem;
    height: 70px;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
    color: #4b5563;
    background: transparent;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.nav-links a:hover {
    background: #f9fafb;
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    background: #f3f4f6;
    border-bottom: 3px solid var(--primary);
    font-weight: 600;
}

.nav-links a.nav-logout {
    color: #dc2626;
}

.nav-links a.nav-logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}

/* Ensure mobile elements are hidden on desktop */
.mobile-drawer,
.mobile-drawer-overlay {
    display: none;
}


/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-family: inherit;
    /* Critical for buttons */
    font-size: 0.95rem;
    /* Default size */
    line-height: 1.5;
    text-decoration: none;
    /* For links */
    box-sizing: border-box;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    filter: brightness(0.9);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

.btn-success {
    background-color: #10b981;
    color: white;
}

.btn-success:hover {
    background-color: #059669;
}

.btn-danger {
    background-color: #ef4444;
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

th {
    font-weight: 600;
    color: var(--text-muted);
    background-color: #f9fafb;
}

tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-warning {
    background-color: #fffbeb;
    color: #b45309;
}

.badge-danger {
    background-color: #fef2f2;
    color: #b91c1c;
}

.badge-success {
    background-color: #ecfdf5;
    color: #047857;
}

.badge-neutral {
    background-color: #f3f4f6;
    color: #4b5563;
}

/* Utilities */
.text-danger {
    color: var(--danger);
}

.text-success {
    color: var(--success);
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.flex {
    display: flex;
    gap: 1rem;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

/* Dashboard Grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Service Grid Layout */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.service-domain {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    display: block;
}

.service-client {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Tablet: 2 columns for details */
@media (min-width: 640px) {
    .service-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 4 columns for details (Horizontal) */
@media (min-width: 1024px) {
    .service-details-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-details-grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.detail-block {
    background: #f9fafb;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #f3f4f6;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.detail-value {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.service-footer {
    display: flex;
    justify-content: flex-start;
    /* Ensure left alignment */
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.service-footer form {
    display: flex;
    /* Changed from inline to flex to better handle child button */
    margin: 0;
}

.service-footer .btn {
    font-size: 0.875rem !important;
    /* Force size */
    padding: 0.4rem 0.8rem !important;
    height: 32px;
    /* Force specific height */
}

.nr-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--text-main);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 0.85rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.total-badge {
    font-weight: 700;
    font-size: 0.9rem;
}

.total-badge-warning {
    color: #92400e;
    background-color: #fcd34d;
}



@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .card-header,
    .service-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem;
    }

    header {
        height: auto;
        padding: 0.5rem 0;
        position: fixed;
        /* Ensures it stays fixed on mobile too */
    }

    .header-content {
        flex-wrap: wrap;
        padding: 0 1rem;
        gap: 1rem;
    }

    .app-container {
        padding-top: 100px;
        /* More padding for mobile as header might wrap */
    }

    /* Mobile Sidebar / Drawer */
    .mobile-drawer-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        display: block;
        /* Ensure it's block when visible */
    }

    .mobile-drawer-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .mobile-drawer {
        position: fixed;
        top: 0;
        right: -280px;
        /* Changed from left to right */
        width: 280px;
        height: 100%;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        z-index: 1002;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        /* Shadow on the left */
        display: flex;
        flex-direction: column;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        /* Border on the left */
    }

    .mobile-drawer.open {
        transform: translateX(-280px);
        /* Slide in from right */
    }

    .drawer-header {
        padding: 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--border);
    }

    .close-drawer {
        background: #f3f4f6;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        font-size: 1.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--text-muted);
    }

    .drawer-nav {
        padding: 1rem 0;
        display: flex;
        flex-direction: column;
    }

    .drawer-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-main);
        transition: all 0.2s;
        border-left: 4px solid transparent;
    }

    .drawer-link svg {
        color: var(--text-muted);
        transition: color 0.2s;
    }

    .drawer-link:hover {
        background: rgba(79, 70, 229, 0.05);
        color: var(--primary);
    }

    .drawer-link:hover svg {
        color: var(--primary);
    }

    .drawer-link.active {
        background: rgba(79, 70, 229, 0.08);
        color: var(--primary);
        border-left-color: var(--primary);
        font-weight: 600;
    }

    .drawer-link.active svg {
        color: var(--primary);
    }

    .drawer-link.logout {
        color: var(--danger);
        margin-top: 0.5rem;
    }

    .drawer-link.logout svg {
        color: var(--danger);
    }

    .drawer-link.logout:hover {
        background: rgba(239, 68, 68, 0.05);
    }

    .drawer-divider {
        height: 1px;
        background: var(--border);
        margin: 0.5rem 1.5rem;
    }

    .mobile-menu-btn {
        display: block !important;
        background: #f3f4f6;
        color: #374151;
        border: 1px solid var(--border);
        border-radius: 0.5rem;
        padding: 0.5rem 0.75rem;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.2s;
    }

    .mobile-menu-btn:hover {
        background: #e5e7eb;
    }

    .nav-links {
        display: none !important;
    }

    /* Mobile Tables as Cards */
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin-bottom: 1rem;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    td {
        border: none;
        border-bottom: 1px solid #f3f4f6;
        position: relative;
        padding-left: 45% !important;
        /* Make space for label */
        text-align: right;
        /* Content aligns right */
        min-height: 2.5rem;
    }

    td:last-child {
        border-bottom: none;
    }

    td:before {
        position: absolute;
        top: 1rem;
        left: 1rem;
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--text-muted);
        content: attr(data-label);
        /* Values come from data-label */
    }

    /* Center Help text/Empty messages */
    td[colspan] {
        text-align: center;
        padding-left: 1rem !important;
    }

    td[colspan]:before {
        content: none;
    }
}

/* Filter Bar */
.filter-bar {
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.filter-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.search-group {
    display: flex;
    flex: 1;
    min-width: 300px;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    overflow: hidden;
}

.search-group input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    padding-left: 2.5rem;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* Login Page */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--bg-body);
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    height: 40px;
    max-width: 300px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.login-btn {
    width: 100%;
    justify-content: center;
}

/* Header & Drawer */
.app-logo {
    height: 40px;
    max-width: 300px;
    object-fit: contain;
    vertical-align: middle;
}

.drawer-logo {
    height: 32px;
    object-fit: contain;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 400px;
    width: 90%;
    animation: modalSlideIn 0.2s ease-out;
}

.modal-notification-overlay {
    z-index: 10000;
}

.modal-body-center {
    text-align: center;
    padding: 2rem 1.5rem;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-message {
    font-size: 1.1rem;
    color: var(--text-main);
}

.modal-warning-text {
    color: #b91c1c;
    font-weight: 500;
    margin-top: 0.5rem;
}

.modal-footer-center {
    justify-content: center;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-gray {
    background-color: #4b5563;
    color: white;
}

.btn-gray:hover {
    background-color: #374151;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #111827;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    margin: 0;
    color: #4b5563;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Utilities & Helpers */
.w-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.relative {
    position: relative;
}

.flex-between-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gap-sm {
    gap: 0.5rem;
}

.flex-1 {
    flex: 1;
}

.justify-center {
    justify-content: center;
}

.m-0 {
    margin: 0;
}

.inline-block {
    display: inline-block;
}

.mt-sm {
    margin-top: 0.5rem;
}

.text-revenue {
    font-weight: 700;
    font-size: 1.1rem;
}

.text-primary-link {
    color: var(--primary);
    text-decoration: none;
}

.word-break-all {
    word-break: break-all;
}

.form-inline {
    display: inline;
    margin: 0;
}

.stats-grid-dashboard {
    margin-top: 1rem;
    margin-bottom: 0;
}

.header-stats {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.hidden {
    display: none;
}


/* Additional Utilities */
.pt-4 {
    padding-top: 1rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.pl-4 {
    padding-left: 1rem;
}

.pr-4 {
    padding-right: 1rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mb-0 {
    margin-bottom: 0;
}

.border-t {
    border-top: 1px solid var(--border);
}

.border-b {
    border-bottom: 1px solid var(--border);
}

.text-right {
    text-align: right;
}

.block {
    display: block;
}

.font-bold {
    font-weight: 700;
}

.text-lg {
    font-size: 1.1rem;
}

.text-xl {
    font-size: 1.25rem;
}

.grid-1 {
    display: grid;
    grid-template-columns: 1fr;
}

.gap-4 {
    gap: 1rem;
}

.max-w-500 {
    max-width: 500px;
}

.mb-sm {
    margin-bottom: 0.5rem;
}

.text-09 {
    font-size: 0.9rem;
}

.text-08 {
    font-size: 0.8rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.pagination-current {
    padding: 0.4rem 0.8rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.btn-light {
    background: #e5e7eb;
    color: var(--text-main);
}

.btn-light:hover {
    background: #d1d5db;
}

/* Components */
.fieldset-custom {
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.legend-custom {
    font-weight: 600;
    padding: 0 0.5rem;
    color: var(--primary);
}

.divider {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.h3-clean {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-main);
}

.extra-row {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.details-box {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #fafafa;
    border-radius: 4px;
}

.service-footer-actions {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
}

.login-alert {
    display: block;
    padding: 0.75rem;
    margin-bottom: 1rem;
    text-align: center;
}

.alert-message {
    margin: 0 0 10px;
    font-weight: bold;
    font-size: 1.1em;
}

.alert-warning {
    margin: 0 0 15px;
}

.alert-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.install-logo-input {
    padding: 0.5rem;
}

.install-logo-help {
    color: #666;
    display: block;
    margin-top: 0.25rem;
}

.financial-summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    color: var(--primary);
}

.search-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    white-space: nowrap;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-item label {
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.control-item select {
    min-width: 150px;
    background-color: #f9fafb;
}

@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-group {
        min-width: 100%;
    }

    .control-group {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .control-item {
        flex: 1;
        min-width: 140px;
    }

    .control-item select {
        width: 100%;
    }
}

/* Full Width Footer */
.app-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    padding: 2rem 0;
    width: 100%;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Dashboard Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.stats-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Stats Icon Variants */
.icon-blue {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
}

.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.stats-info {
    display: flex;
    flex-direction: column;
}

.stats-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.stats-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}