/*
|--------------------------------------------------------------------------
| NRAND ADMIN - PREMIUM COLOR ENHANCEMENTS
|--------------------------------------------------------------------------
| Additive styling only
| Does not change existing structure or layout
|--------------------------------------------------------------------------
*/


/* =========================================================
   ADMIN PAGE CARDS
========================================================= */

.admin-card,
.dashboard-card,
.stat-card,
.content-card,
.admin-content-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(190, 30, 35, 0.14);
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.admin-card::before,
.dashboard-card::before,
.stat-card::before,
.content-card::before,
.admin-content-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(
        180deg,
        #e1272b,
        #8f1519
    );
    opacity: 0.9;
}


.admin-card:hover,
.dashboard-card:hover,
.stat-card:hover,
.content-card:hover,
.admin-content-card:hover {
    transform: translateY(-3px);
    border-color: rgba(225, 39, 43, 0.28);
    box-shadow:
        0 16px 35px rgba(15, 23, 42, 0.10);
}


/* =========================================================
   STATISTIC CARDS
========================================================= */

.stat-card {
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fafafa 100%
        );
}


.stat-card:nth-child(1)::before {
    background: #d71920;
}


.stat-card:nth-child(2)::before {
    background: #232f3e;
}


.stat-card:nth-child(3)::before {
    background: linear-gradient(
        180deg,
        #d71920,
        #232f3e
    );
}


.stat-card:nth-child(4)::before {
    background: #a61c20;
}


/* =========================================================
   PREMIUM NUMBERS
========================================================= */

.stat-card h2,
.stat-card .stat-number,
.stat-card .number {
    color: #1f2937;
}


.stat-card:hover h2,
.stat-card:hover .stat-number,
.stat-card:hover .number {
    color: #c91f26;
}


/* =========================================================
   TABLE CARDS
========================================================= */

.admin-table-card,
.table-card {
    border-top: 3px solid #d71920;
}


.admin-table-card thead,
.table-card thead {
    background: rgba(215, 25, 32, 0.04);
}


.admin-table-card tbody tr,
.table-card tbody tr {
    transition:
        background 0.2s ease;
}


.admin-table-card tbody tr:hover,
.table-card tbody tr:hover {
    background: rgba(215, 25, 32, 0.035);
}


/* =========================================================
   PREMIUM BADGES
========================================================= */

.badge,
.status-badge {
    border: 1px solid rgba(215, 25, 32, 0.12);
}


.badge-success,
.status-active,
.status-open {
    background: rgba(22, 163, 74, 0.10);
    color: #15803d;
}


.badge-danger,
.status-declined {
    background: rgba(215, 25, 32, 0.10);
    color: #c91f26;
}


/* =========================================================
   BUTTON ENHANCEMENT
========================================================= */

.btn-primary,
.admin-btn-primary,
button[type="submit"].btn-primary {
    background:
        linear-gradient(
            135deg,
            #e1272b,
            #b51218
        );
    border-color: transparent;
    box-shadow:
        0 8px 18px rgba(215, 25, 32, 0.18);
}


.btn-primary:hover,
.admin-btn-primary:hover,
button[type="submit"].btn-primary:hover {
    box-shadow:
        0 12px 24px rgba(215, 25, 32, 0.28);
}


/* =========================================================
   INPUT FOCUS
========================================================= */

.admin-content input:focus,
.admin-content select:focus,
.admin-content textarea:focus {
    border-color: #d71920;
    box-shadow:
        0 0 0 3px rgba(215, 25, 32, 0.08);
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.admin-content h1,
.admin-content h2 {
    position: relative;
}


.admin-content h1::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 10px;
    background:
        linear-gradient(
            90deg,
            #d71920,
            #232f3e
        );
    border-radius: 10px;
}

/* body {
    border-top: 5px solid red !important;
} */