:root {
    --primary-blue: #0d6efd;
    --dark-blue: #061a40;
    --gradient-blue: linear-gradient(135deg, #0d6efd, #004aad);
    --light-bg: #f4f7fb;
    --card-radius: 18px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--light-bg);
    color: #1f2937;
}

a {
    text-decoration: none;
}

.login-page {
    min-height: 100vh;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow-soft);
}

.login-logo {
    width: 70px;
    height: 70px;
    background: var(--gradient-blue);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    margin: 0 auto 15px;
}

.login-title {
    text-align: center;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.login-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 25px;
}

.form-control,
.form-select {
    border-radius: 12px;
    padding: 11px 14px;
    border: 1px solid #d8dee9;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
}

.btn-gradient {
    background: var(--gradient-blue);
    border: none;
    color: #fff;
    border-radius: 12px;
    padding: 11px 18px;
    font-weight: 600;
}

.btn-gradient:hover {
    color: #fff;
    opacity: 0.95;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--dark-blue);
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    padding: 20px 15px;
    z-index: 1000;
}

.sidebar-brand {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    padding: 10px;
}

.sidebar-menu {
    list-style: none;
    padding-left: 0;
}

.sidebar-menu li {
    margin-bottom: 6px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dbeafe;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.main-content {
    margin-left: 260px;
    width: calc(100% - 260px);
    padding: 20px;
}

.topbar {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    padding: 22px;
    margin-bottom: 20px;
}

.stat-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.stat-card h3 {
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-card p {
    margin-bottom: 0;
    color: #6b7280;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(13, 110, 253, 0.12);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.table {
    vertical-align: middle;
}

.table thead {
    background: #f1f5f9;
}

.table thead th {
    font-size: 14px;
    color: #334155;
}

.badge {
    padding: 7px 10px;
    border-radius: 999px;
}

.action-btn {
    border-radius: 10px;
    padding: 6px 10px;
}

.mobile-toggle {
    display: none;
}

@media (max-width: 992px) {
    .sidebar {
        left: -270px;
        transition: 0.3s;
    }

    .sidebar.show {
        left: 0;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .mobile-toggle {
        display: inline-flex;
    }
}

@media (max-width: 576px) {
    .login-card {
        padding: 25px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
.timeline-wrapper {
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
    position: relative;
}

.timeline-time {
    min-width: 90px;
    font-weight: 700;
    color: #0d6efd;
    padding-top: 8px;
}

.timeline-content {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    position: relative;
}

.timeline-content::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 18px;
    width: 12px;
    height: 12px;
    background: #0d6efd;
    border-radius: 50%;
    border: 3px solid #dbeafe;
}

@media (max-width: 576px) {
    .timeline-item {
        flex-direction: column;
        gap: 8px;
    }

    .timeline-time {
        min-width: auto;
    }

    .timeline-content::before {
        display: none;
    }
}
