:root {
    --primary-color: #D90429;
    --secondary-color: #2B2D42;
    --light-gray: #EDF2F4;
    --white: #FFFFFF;
    --text-dark: #2B2D42;
    --text-light: #8D99AE;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--light-gray);
    color: var(--text-dark);
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#app-content {
    flex: 1;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    animation: heartbeat 1.5s infinite;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #b90322;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.hidden {
    display: none !important;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.pulse-circle {
    width: 300px;
    height: 300px;
    background-color: rgba(217, 4, 41, 0.1);
    border-radius: 50%;
    position: relative;
}

.pulse-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background-color: rgba(217, 4, 41, 0.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Stats */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 60px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 200px;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* Auth Forms */
.auth-container {
    max-width: 400px;
    margin: 60px auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.full-width {
    width: 100%;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
}

/* Dashboard */
.dashboard-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.dashboard-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
}

.tab-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Settings Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

/* Lists */
.list-group {
    list-style: none;
}

.list-group li {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.list-group li:last-child {
    border-bottom: none;
}

#my-requests-list {
    max-height: 300px;
    overflow-y: auto;
}

.empty-state {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.notif-content h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.notif-time {
    font-size: 0.8rem;
    color: var(--text-light);
}

.badge {
    background-color: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    vertical-align: top;
}

/* Search & Donors */
.search-header {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--secondary-color);
    color: white;
}

.search-bar {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-bar select,
.search-bar input {
    padding: 10px;
    border-radius: var(--radius);
    border: none;
    min-width: 200px;
}

.donors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.donor-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.donor-card:hover {
    transform: translateY(-5px);
}

.donor-avatar {
    width: 80px;
    height: 80px;
    background-color: #ffebeb;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.donor-info h4 {
    margin-bottom: 5px;
}

.donor-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.contact-btn {
    background-color: var(--light-gray);
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* Animations */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.1);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Urgent Requests */
.urgent-section {
    padding: 60px 20px;
    background-color: #fff5f5;
}

.section-title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    color: var(--secondary-color);
    font-size: 2rem;
}

.urgent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.request-card-public {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
}

.request-card-public:hover {
    transform: translateY(-5px);
}

.req-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.blood-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
}

.req-time {
    font-size: 0.85rem;
    color: var(--text-light);
}

.req-info p {
    margin-bottom: 8px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.req-info i {
    color: var(--primary-color);
}

.req-contact {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Empty State Animation */
.empty-state-container {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

.bounce-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: bounce 2s infinite;
    opacity: 0.5;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* Admin Panel Styles */
.admin-container {
    max-width: 1000px;
    margin: 0 auto;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--text-dark);
}

.admin-table tr:hover {
    background-color: #f8f9fa;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-danger {
    background-color: #ffebee;
    color: var(--primary-color);
}

.btn-danger:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.btn-success:hover {
    background-color: #2e7d32;
    color: white;
}

.btn-warning {
    background-color: #fff3e0;
    color: #ef6c00;
}

.btn-warning:hover {
    background-color: #ef6c00;
    color: white;
}

.btn-urgent {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.4);
    transition: all 0.3s ease;
}

.btn-urgent:hover {
    background-color: #b90322;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(217, 4, 41, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        margin-bottom: 40px;
        padding-right: 0;
    }

    .hero-btns {
        justify-content: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .search-bar input,
    .search-bar select {
        width: 100%;
        margin-bottom: 10px;
    }

    .card {
        padding: 20px;
    }
}

/* Public History */
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.history-card-public {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #ddd;
}

.history-card-public.completed {
    border-left-color: #2ecc71;
}

.history-card-public.incomplete {
    border-left-color: #f1c40f;
}

.history-status {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
}

.history-status.completed {
    background-color: #2ecc71;
}

.history-status.incomplete {
    background-color: #f1c40f;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.modal-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-dark);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* Profile Card */
#profile-view p {
    margin-bottom: 10px;
    font-size: 1rem;
}

#profile-edit {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Admin Enhancements */
.admin-actions {
    display: flex;
    gap: 5px;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .admin-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .dashboard-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1 1 45%;
        font-size: 0.9rem;
    }

    .modal-content {
        width: 95%;
    }

    .history-grid {
        grid-template-columns: 1fr;
    }
}


/* --- UI Enhancements --- */

/* Profile Card Enhanced */
.profile-card-enhanced {
    padding: 0 !important;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.profile-header-bg {
    background: linear-gradient(135deg, var(--primary-color), #8e0216);
    height: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    border: 4px solid white;
    transform: translateY(40px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-body {
    padding: 50px 20px 20px;
    text-align: center;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
    text-align: left;
}

@media (max-width: 600px) {
    .profile-details-grid {
        grid-template-columns: 1fr;
        /* one column */
        text-align: left;
        /* center all text */
        justify-items: center;
        /* center each grid item */
    }
}


.profile-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
}

.profile-detail-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.profile-detail-item .label {
    display: block;
    font-size: 0.75rem;
    color: #666;
}

.profile-detail-item .value {
    display: block;
    font-weight: 600;
    color: #333;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Alert Modal */
.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: white;
}

.modal-icon.warning {
    background: #f1c40f;
}

.modal-icon.info {
    background: var(--primary-color);
}

.modal-icon.success {
    background: #2ecc71;
}

.modal-actions.single-action {
    justify-content: center;
}

/* Request Card Update */
.req-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.req-time {
    font-size: 0.85rem;
    color: #777;
}

/* Public History List View */
.history-list-container {
    max-width: 800px;
    margin: 0 auto;
}

.history-list-item {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #ddd;
    transition: transform 0.2s;
}

.history-list-item:hover {
    transform: translateX(5px);
}

.history-list-item.completed {
    border-left-color: #2ecc71;
}

.history-list-item.incomplete {
    border-left-color: #f1c40f;
}

.history-info h4 {
    margin: 0 0 5px;
    color: #333;
}

.history-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.history-meta {
    text-align: right;
}

.history-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.history-status-badge.completed {
    background: #2ecc71;
}

.history-status-badge.incomplete {
    background: #f1c40f;
}

.section-subtitle.text-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
}


/* --- Request Card Redesign (Centered) --- */
.request-card-public.centered-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
}

.blood-circle-large {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(217, 4, 41, 0.3);
}

.req-time-centered {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
}

.req-info.centered-info {
    margin-bottom: 15px;
    width: 100%;
}

.req-info.centered-info p {
    justify-content: center;
}

.req-contact.centered-contact {
    margin-top: auto;
    background: #f8f9fa;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
}

/* --- Profile Settings Fix --- */
.settings-section {
    padding: 20px;
}


/* Admin Table Styles */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.admin-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.admin-table tr:hover {
    background-color: #f1f1f1;
}


/* --- Request Confirmation Modal --- */
#request-confirm-modal .modal-content {
    padding-top: 25px;
    max-width: 500px;
}

#request-confirm-modal .modal-icon {
    margin-top: 0;
    margin-bottom: 15px;
}

#request-confirm-modal .modal-icon i {
    animation: heartbeat 1.5s infinite;
}

.confirm-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: 600;
    color: #555;
}

.detail-row .value {
    font-weight: 700;
    color: #333;
}


/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
    width: 100%;
}

.load-more-container button {
    min-width: 200px;
}

.load-more-container.hidden {
    display: none;
}

button:disabled {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    border: 1px solid #999 !important;
}

button:disabled:hover {
    background-color: #ccc !important;
    transform: none !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .urgent-grid {
        grid-template-columns: 1fr;
    }

    .request-card-public {
        margin: 0 auto;
        width: 100%;
        max-width: 350px;
        /* Prevent cards from getting too wide */
    }

    .urgent-section {
        padding: 40px 15px;
    }
}

/* Centered Limited Grid (Home) */
.urgent-grid.centered-limited {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.urgent-grid.centered-limited .request-card-public {
    flex: 0 1 350px;
    /* Grow 0, Shrink 1, Basis 350px */
    max-width: 350px;
    width: 100%;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    grid-column: 1 / -1;
}

.page-info {
    font-weight: 600;
    color: var(--text-color);
}


/* Footer Expansion Styles */
.main-footer {
    background-color: #1a1c2e;
    color: #e0e0e0;
    padding: 60px 0 30px;
    margin-top: auto;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-column {
    padding: 0 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column:first-child {
    padding-left: 0;
}

.footer-column:last-child {
    border-right: none;
    padding-right: 0;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    letter-spacing: -0.5px;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-about {
    color: #a0a0a0;
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 100%;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 8px;
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--white);
    letter-spacing: 0.5px;
    width: 100%;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    color: #606060;
    font-size: 0.85rem;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-column {
        border-right: none;
        padding: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-column {
        align-items: flex-start;
        text-align: left;
        padding: 0;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 15px;
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .main-footer {
        padding: 50px 0 20px;
    }
}

/* --- Fixes for User Reported Bugs --- */

/* Bug 1: Footer Mobile Spacing */
@media (max-width: 576px) {
    .footer-content {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Bug 2: Copyright Spacing */
.footer-content {
    margin-bottom: 20px;
    /* Reduced from 40px */
    padding-bottom: 20px;
    /* Reduced from 40px */
}

.footer-bottom {
    padding-top: 10px;
    /* Reduced from 20px */
}

/* Bug 3: Pagination Buttons */
.pagination-container {
    max-width: 1200px;
    margin: 0px auto 0;
    /* Center the container */
    width: 100%;
    padding-bottom: 35px;
    box-sizing: border-box;
    justify-content: center;
    /* Ensure centering */
}

/* Bug 4: Request Blood Text Spacing */
.request-card p {
    margin-bottom: 20px;
}

/* Custom Popup Enhanced */
.custom-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.3s ease;
    border-left: 5px solid var(--primary-color);
    max-width: 350px;
}

.custom-popup.hidden {
    display: none;
}

.popup-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.popup-content i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.popup-content span {
    font-weight: 500;
    color: var(--text-dark);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Popup Types */
.custom-popup.popup-success {
    border-left-color: #2ecc71;
}

.custom-popup.popup-success i {
    color: #2ecc71;
}

.custom-popup.popup-error {
    border-left-color: #e74c3c;
}

.custom-popup.popup-error i {
    color: #e74c3c;
}

.custom-popup.popup-warning {
    border-left-color: #f1c40f;
}

.custom-popup.popup-warning i {
    color: #f1c40f;
}

.custom-popup.popup-info {
    border-left-color: #3498db;
}

.custom-popup.popup-info i {
    color: #3498db;
}

/* Auth Actions (Forgot Password) */
.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.auth-actions .auth-switch {
    margin-top: 0;
}

.forgot-password {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.forgot-password:hover {
    color: var(--primary-color);
}

/* Admin Announcements */
#dash-admin-announcements textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    resize: vertical;
}

#dash-admin-announcements textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Modal Improvements */
.modal-content {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#send-notice-modal .modal-content {
    text-align: left;
}

#send-notice-modal h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    text-align: center;
}

#send-notice-modal p {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-light);
}

#send-notice-modal .form-group {
    margin-bottom: 15px;
}

#send-notice-modal label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: var(--text-dark);
}

#send-notice-modal input,
#send-notice-modal textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

#send-notice-modal input:focus,
#send-notice-modal textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

#send-notice-modal .modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Scrollable Lists */
#notification-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
    /* Prevent scrollbar from covering content */
}

#history-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
    /* Prevent scrollbar from covering content */
}

#my-requests-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
    /* Prevent scrollbar from covering content */
}

/* Custom Scrollbar for Lists */
#notification-list::-webkit-scrollbar,
#history-list::-webkit-scrollbar,
#my-requests-list::-webkit-scrollbar {
    width: 6px;
}

#notification-list::-webkit-scrollbar-track,
#history-list::-webkit-scrollbar-track,
#my-requests-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#notification-list::-webkit-scrollbar-thumb,
#history-list::-webkit-scrollbar-thumb,
#my-requests-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

#notification-list::-webkit-scrollbar-thumb:hover,
#history-list::-webkit-scrollbar-thumb:hover,
#my-requests-list::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Forgot Password & Auth Actions Styling */
.auth-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.forgot-password-wrapper {
    text-align: center;
    width: 100%;
    margin: 0;
}

.auth-switch {
    margin-top: 15px;
    text-align: center;
    width: 100%;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.forgot-password:hover {
    text-decoration: underline;
    color: #b90322;
}

/* 404 Page Styles */
.broken-heart-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.heart {
    position: relative;
    width: 100%;
    height: 100%;
    animation: heartbeat 2s infinite;
}

.crack {
    position: absolute;
    top: 15%;
    left: 50%;
    width: 4px;
    height: 70%;
    background: var(--light-gray);
    transform: translateX(-50%) rotate(-15deg);
    z-index: 10;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    resize: vertical;
}

#dash-admin-announcements textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Modal Improvements */
.modal-content {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#send-notice-modal .modal-content {
    text-align: left;
}

#send-notice-modal h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    text-align: center;
}

#send-notice-modal p {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-light);
}

#send-notice-modal .form-group {
    margin-bottom: 15px;
}

#send-notice-modal label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: var(--text-dark);
}

#send-notice-modal input,
#send-notice-modal textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

#send-notice-modal input:focus,
#send-notice-modal textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

#send-notice-modal .modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Scrollable Lists */
#notification-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
    /* Prevent scrollbar from covering content */
}

#history-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
    /* Prevent scrollbar from covering content */
}

#my-requests-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
    /* Prevent scrollbar from covering content */
}

/* Custom Scrollbar for Lists */
#notification-list::-webkit-scrollbar,
#history-list::-webkit-scrollbar,
#my-requests-list::-webkit-scrollbar {
    width: 6px;
}

#notification-list::-webkit-scrollbar-track,
#history-list::-webkit-scrollbar-track,
#my-requests-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#notification-list::-webkit-scrollbar-thumb,
#history-list::-webkit-scrollbar-thumb,
#my-requests-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

#notification-list::-webkit-scrollbar-thumb:hover,
#history-list::-webkit-scrollbar-thumb:hover,
#my-requests-list::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Forgot Password & Auth Actions Styling */
.auth-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.forgot-password-wrapper {
    text-align: center;
    width: 100%;
    margin: 0;
}

.auth-switch {
    margin-top: 15px;
    text-align: center;
    width: 100%;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.forgot-password:hover {
    text-decoration: underline;
    color: #b90322;
}

/* 404 Page Styles */
.broken-heart-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.heart {
    position: relative;
    width: 100%;
    height: 100%;
    animation: heartbeat 2s infinite;
}

.crack {
    position: absolute;
    top: 15%;
    left: 50%;
    width: 4px;
    height: 70%;
    background: var(--light-gray);
    transform: translateX(-50%) rotate(-15deg);
    z-index: 10;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    resize: vertical;
}

#dash-admin-announcements textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Modal Improvements */
.modal-content {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#send-notice-modal .modal-content {
    text-align: left;
}

#send-notice-modal h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    text-align: center;
}

#send-notice-modal p {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-light);
}

#send-notice-modal .form-group {
    margin-bottom: 15px;
}

#send-notice-modal label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: var(--text-dark);
}

#send-notice-modal input,
#send-notice-modal textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

#send-notice-modal input:focus,
#send-notice-modal textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

#send-notice-modal .modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Scrollable Lists */
#notification-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
    /* Prevent scrollbar from covering content */
}

#history-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
    /* Prevent scrollbar from covering content */
}

#my-requests-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
    /* Prevent scrollbar from covering content */
}

/* Custom Scrollbar for Lists */
#notification-list::-webkit-scrollbar,
#history-list::-webkit-scrollbar,
#my-requests-list::-webkit-scrollbar {
    width: 6px;
}

#notification-list::-webkit-scrollbar-track,
#history-list::-webkit-scrollbar-track,
#my-requests-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#notification-list::-webkit-scrollbar-thumb,
#history-list::-webkit-scrollbar-thumb,
#my-requests-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

#notification-list::-webkit-scrollbar-thumb:hover,
#history-list::-webkit-scrollbar-thumb:hover,
#my-requests-list::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Forgot Password & Auth Actions Styling */
.auth-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.forgot-password-wrapper {
    text-align: center;
    width: 100%;
    margin: 0;
}

.auth-switch {
    margin-top: 15px;
    text-align: center;
    width: 100%;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.forgot-password:hover {
    text-decoration: underline;
    color: #b90322;
}

/* 404 Page Styles */
.broken-heart-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.heart {
    position: relative;
    width: 100%;
    height: 100%;
    animation: heartbeat 2s infinite;
}

.crack {
    position: absolute;
    top: 15%;
    left: 50%;
    width: 4px;
    height: 70%;
    background: var(--light-gray);
    transform: translateX(-50%) rotate(-15deg);
    z-index: 10;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    resize: vertical;
}

#dash-admin-announcements textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Modal Improvements */
.modal-content {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#send-notice-modal .modal-content {
    text-align: left;
}

#send-notice-modal h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    text-align: center;
}

#send-notice-modal p {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-light);
}

#send-notice-modal .form-group {
    margin-bottom: 15px;
}

#send-notice-modal label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: var(--text-dark);
}

#send-notice-modal input,
#send-notice-modal textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

#send-notice-modal input:focus,
#send-notice-modal textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

#send-notice-modal .modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Scrollable Lists */
#notification-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
    /* Prevent scrollbar from covering content */
}

#history-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
    /* Prevent scrollbar from covering content */
}

#my-requests-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
    /* Prevent scrollbar from covering content */
}

/* Custom Scrollbar for Lists */
#notification-list::-webkit-scrollbar,
#history-list::-webkit-scrollbar,
#my-requests-list::-webkit-scrollbar {
    width: 6px;
}

#notification-list::-webkit-scrollbar-track,
#history-list::-webkit-scrollbar-track,
#my-requests-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#notification-list::-webkit-scrollbar-thumb,
#history-list::-webkit-scrollbar-thumb,
#my-requests-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

#notification-list::-webkit-scrollbar-thumb:hover,
#history-list::-webkit-scrollbar-thumb:hover,
#my-requests-list::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Forgot Password & Auth Actions Styling */
.auth-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.forgot-password-wrapper {
    text-align: center;
    width: 100%;
    margin: 0;
}

.auth-switch {
    margin-top: 15px;
    text-align: center;
    width: 100%;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.forgot-password:hover {
    text-decoration: underline;
    color: #b90322;
}

/* 404 Page Styles */
.broken-heart-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.broken-heart-icon {
    font-size: 5rem;
    color: var(--primary-color);
    filter: drop-shadow(0 8px 12px rgba(217, 4, 41, 0.2));
    animation: heartbeat-break 3s infinite ease-in-out;
}

@keyframes heartbeat-break {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.1);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.1);
    }

    60% {
        transform: scale(1) rotate(0deg);
    }

    70% {
        transform: scale(1.1) rotate(-5deg);
    }

    80% {
        transform: scale(1.1) rotate(5deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.not-found-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    min-height: 60vh;
    background: linear-gradient(to bottom, transparent, rgba(217, 4, 41, 0.03));
}

.not-found-container h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
}

.not-found-container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.not-found-container p {
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 450px;
    font-size: 1rem;
    line-height: 1.6;
}

.not-found-container .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.3);
    transition: all 0.3s ease;
}

.not-found-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 4, 41, 0.5);
}