﻿/* ============================================================= */
/*  site.css – LSU Vet Med CAS – Clean General Styles (March 2026) */
/* ============================================================= */

/* ——————————————————————— OVERALL LAYOUT ——————————————————————— */
.page {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.sidebar {
    left: 0;
    width: 260px;
    background: linear-gradient(180deg, #2e1350 0%, #34155c 100%) !important;
    color: white;
    position: fixed;
    height: 100%;
    overflow-y: auto;
    z-index: 1000;
    padding-top: 170px; /* Increased significantly */
    top: 65px; /* ← NEW: This forces the sidebar to start below the top bar */
    padding-bottom: 40px;
    box-sizing: border-box;
}

.content {
    margin-left: 260px;
    margin-top: 50px;
    padding: 30px 40px;
    background: white;
    min-height: calc(100vh - 110px);
    flex: 1;
    padding-bottom: 40px;
}

/* ——————————————————————— TOP LSU PURPLE HEADER BAR ——————————————————————— */
.lsulogo {
    background: #2e1350 !important;
    padding: 18px 30px;
    border-bottom: 8px solid #FDD023;
    color: #FDD023;
    display: flex;
    align-items: center;
    gap: 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    width: 100%;
}

    .lsulogo img {
        height: 55px;
    }

    .lsulogo span {
        font-size: 1.45rem;
        font-weight: 700;
    }

/* Sidebar Icon Styling */
.sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 14px 25px;
    color: white !important;
    font-size: 1.08rem;
    font-weight: 500;
    transition: all 0.3s ease;
    gap: 16px;
}

    .sidebar .nav-link .sidebar-icon {
        font-size: 1.45rem;
        width: 32px;
        text-align: center;
        color: #FDD023;
        flex-shrink: 0;
    }

    .sidebar .nav-link span:last-child {
        flex: 1;
    }

    /* Hover / Active State */
    .sidebar .nav-link:hover,
    .sidebar .nav-link.active {
        background-color: #FDD023 !important;
        color: #2e1350 !important;
    }

        .sidebar .nav-link:hover .sidebar-icon,
        .sidebar .nav-link.active .sidebar-icon {
            color: #2e1350 !important;
        }

/* ——————————————————————— MAIN CONTENT LINKS ——————————————————————— */
.content a,
.content a:link,
.content a:visited {
    color: white !important;
    text-decoration: none;
    transition: color 0.25s ease;
    font-weight: 500;
}

    .content a:hover,
    .content a:active,
    .content a:focus {
        color: #FDD023 !important;
    }

/* ——————————————————————— CHOOSE DIRECTORY MENU BUTTONS ——————————————————————— */
.LinksToPages a {
    display: block;
    background: #f8f9fa;
    border: 2px solid #2e1350;
    color: #2e1350 !important;
    padding: 20px 25px;
    margin-bottom: 18px;
    border-radius: 8px;
    font-size: 1.35rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

    .LinksToPages a:hover {
        background: #2e1350;
        color: #FDD023 !important;
        border-color: #FDD023;
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(46, 19, 80, 0.25);
    }

/* ——————————————————————— VALIDATION MESSAGE STYLING ——————————————————————— */
.validation-msg {
    width: 400px;
    margin: 0 auto;
    margin-top: 2%;
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
}

.validation-success {
    background-color: #f8f9fa;
    border: 1px solid #6c757d;
    color: #495057;
}

.validation-error {
    background-color: #f8d7da;
    border: 1px solid #dc3545;
    color: #721c24;
}

/* ——————————————————————— FOOTER ——————————————————————— */
footer {
    flex-shrink: 0;
    margin-top: auto;
    background: #f8f9fa;
    padding: 16px 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-left: 260px;
    border-top: 1px solid #dee2e6;
}

/* ——————————————————————— MISC / RESPONSIVE ——————————————————————— */
@media (max-width: 992px) {
    .sidebar {
        width: 220px;
    }

    .content {
        margin-left: 220px;
    }

    footer {
        margin-left: 220px;
    }
}

/* ============================================================= */
/*  Return to Main Menu Button                                   */
/* ============================================================= */

a.btn-return-menu,
a.btn-return-menu:link,
a.btn-return-menu:visited,
.btn-return-menu {
    background-color: #2e1350 !important;
    border-color: #2e1350 !important;
    color: #FFFFFF !important;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

    a.btn-return-menu:hover,
    a.btn-return-menu:focus,
    a.btn-return-menu:active,
    .btn-return-menu:hover,
    .btn-return-menu:focus,
    .btn-return-menu:active {
        background-color: #FDD023 !important;
        border-color: #FDD023 !important;
        color: #2e1350 !important;
    }

/* ============================================================= */
/*  LOGIN PAGE SPECIFIC STYLES                                   */
/* ============================================================= */

body.login-page {
    background: #2e1350 !important;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

    body.login-page .card {
        background: white;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    body.login-page .card-body {
        padding: 40px 30px;
        text-align: center;
    }

    /* Make sure text on login page is dark purple */
    body.login-page p,
    body.login-page strong,
    body.login-page .small,
    body.login-page label {
        color: #2e1350 !important;
    }

    /* Links on login page */
    body.login-page a {
        color: #2e1350 !important;
    }

        body.login-page a:hover {
            color: #FDD023 !important;
        }
