﻿/* ========================================================= 
     Colmar Vet Portal Responsive Header / Footer Style
   ========================================================= */

:root {
    --brand-blue: #005a9c;
    --brand-hover: #004475;
    --text-dark: #333333;
    --text-muted: #666666;
    --border-light: #e1e8ed;
    --bg-light: #f8fafc;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Header Layout --- */
.portal-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
}

.header-top-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.portal-logo img {
    display: block;
    max-height: 70px;
    width: auto;
}

.portal-contact-info {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
}

    .portal-contact-info h4 {
        color: var(--text-muted);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 0 0 2px 0;
    }

    .portal-contact-info a {
        color: var(--brand-blue);
        text-decoration: none;
        font-weight: 500;
    }

        .portal-contact-info a:hover {
            text-decoration: underline;
        }

/* --- Streamlined Blue Navigation Bar --- */
.portal-nav-bar {
    background-color: var(--brand-blue);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    padding: 0 10px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.15s ease;
}

    .nav-link:hover, .nav-link.active {
        background-color: var(--brand-hover);
    }

    .nav-link i {
        margin-right: 5px;
    }

/* --- App Content Working Area --- */
.portal-main-content {
    flex: 1 0 auto;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* --- Footer Layout --- */
.portal-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 30px 20px;
    flex-shrink: 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.aaha-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #c9302c;
    border: 1px solid #c9302c;
    padding: 3px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-right {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: right;
}

    .footer-right a {
        color: var(--brand-blue);
        text-decoration: none;
        margin-left: 10px;
    }

        .footer-right a:hover {
            text-decoration: underline;
        }

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .header-top-container, .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .portal-contact-info, .footer-right {
        text-align: center;
    }

    .nav-container {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-link {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}
