﻿/* site.css (GLOBAL) */
:root{
    --topbar-height: 56px;
    --sidebar-width: 260px;
    --bubble-size: 100px;
}

/* Sidebar Styles */
.bg-dark-red {
    background-color: #4A0000 !important; /* Dark Red */
}

.text-white {
    color: #FFFFFF !important; /* White Text */
}

.nav-link {
    color: #FFFFFF !important; /* White for links */
}

    .nav-link:hover {
        background-color: #A52A2A; /* Lighter Red on hover */
        color: #FFFFFF !important;
    }

/* Body Styles */
.bg-cream {
    background-color: #F5F5DC; /* Cream */
    color: #000000; /* Black text for readability */
}

/* Card Styles */
.card {
    background-color: #EEE8AA; /* Light Khaki for contrast */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border: none; /* Remove default border */
    border-radius: 8px; /* Rounded corners */
}

.card-title, .card-text {
    color: #000000; /* Black text for contrast */
}

.card:hover {
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15); /* Slightly larger shadow on hover */
}

/* Force dark red background for offcanvas sidebar */
.offcanvas-lg.bg-dark-red {
    background-color: #8B0000 !important; /* Dark Red */
    color: #FFFFFF; /* White Text */
}

.offcanvas-lg .nav-link {
    color: #FFFFFF !important; /* White text for sidebar links */
}

    .offcanvas-lg .nav-link:hover {
        background-color: #A52A2A; /* Slightly lighter red on hover */
    }

.offcanvas-header {
    background-color: #8B0000; /* Match header background to sidebar */
}

.btn-close-white {
    filter: invert(100%); /* Ensure close button is visible on dark background */
}

.news-wrap { min-height: 70vh; padding: 1.25rem; }
.news-container { width: 100%; max-width: 980px; margin: 0 auto; }

/* Light hero with red accent; dark text */
.hero-accent {
    height: 6px;
    border-top-left-radius: .75rem;
    border-top-right-radius: .75rem;
    background: linear-gradient(90deg, #a50c1b, #d61f34 60%, #f04a5a);
}

/* Keep tabs within the same container width */
.tabs-wrap { width: 100%; }
.btn-pill { border-radius: 999px; padding: .5rem 1rem; }

/* Floating action button */
.fab {
    position: fixed; right: 1.25rem; bottom: 1.25rem;
    width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.1rem;
}

/* Skeleton shimmer (consistent widths with content grid) */
.skeleton { background: #eef0f2; border-radius: .75rem; position: relative; overflow: hidden; }
.shimmer::after {
    content: ""; position: absolute; inset: 0; transform: translateX(-100%);
    background-image: linear-gradient(90deg, rgba(255,255,255,0) 0,
    rgba(255,255,255,.6) 50%, rgba(255,255,255,0) 100%);
    animation: shimmer 1.2s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }


.auth-wrap { padding: 1.25rem; }
.auth-card { width: 100%; max-width: 520px; }

.profile-wrap { padding: 1.25rem; }
.profile-container { width: 100%; max-width: 980px; margin: 0 auto; }

.user-grid th {
    white-space: nowrap;
    font-weight: 600;
    background-color: var(--bs-body-bg);
}

.user-grid td,
.user-grid th {
    padding: 0.75rem 1rem;
}

.user-grid td {
    text-align: center;
}

.user-grid td.text-start {
    text-align: left;
}

.user-grid {
    border-collapse: separate;
    border-spacing: 0;
}
