/* =========================================================
   HEALTHCONNECT - GLOBAL SAAS STYLES (Clinical Teal Theme)
   ========================================================= */

/* 1. TYPOGRAPHY & VARIABLES */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* The Trust Palette */
    --hc-teal: #0D9488;
    --hc-teal-dark: #0F766E;
    --hc-teal-light: #F0FDFA;
    --hc-teal-glow: rgba(13, 148, 136, 0.4);
    
    --hc-slate: #0F172A;
    --hc-slate-muted: #64748B;
    --hc-bg: #F8FAFC;
    --hc-white: #FFFFFF;
    
    /* Utilities */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--hc-bg);
    color: var(--hc-slate);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

h1, h2, h3, h4, h5, h6 { 
    font-weight: 700; 
    color: var(--hc-slate); 
    letter-spacing: -0.5px; 
}

/* 2. GLOBAL UTILITIES */
.text-teal { color: var(--hc-teal) !important; }
.bg-teal { background-color: var(--hc-teal) !important; }
.bg-teal-light { background-color: var(--hc-teal-light) !important; }

/* 3. BUTTON OVERRIDES */
.btn-primary {
    background-color: var(--hc-teal);
    border-color: var(--hc-teal);
    color: var(--hc-white);
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--hc-teal-dark);
    border-color: var(--hc-teal-dark);
    box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.3);
    transform: translateY(-2px);
}
.btn-outline-primary {
    color: var(--hc-teal);
    border-color: var(--hc-teal);
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-primary:hover {
    background-color: var(--hc-teal);
    color: var(--hc-white);
    transform: translateY(-2px);
}

.hover-lift { transition: var(--transition); }
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 4. MASTER LAYOUT: FLOATING GLASS NAVBAR */
.glass-navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
    font-size: 1.4rem;
}

.nav-item .nav-link {
    font-weight: 600;
    color: #475569 !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.nav-item .nav-link:hover {
    color: var(--hc-teal) !important;
    background-color: rgba(13, 148, 136, 0.05);
}

.btn-nav-outline {
    color: var(--hc-slate);
    border: 2px solid #E2E8F0;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.2s ease;
}
.btn-nav-outline:hover {
    border-color: var(--hc-teal);
    color: var(--hc-teal);
    background: rgba(13, 148, 136, 0.05);
}

.btn-nav-solid {
    background-color: var(--hc-teal);
    color: white;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.2);
}
.btn-nav-solid:hover {
    background-color: var(--hc-teal-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.3);
}

/* 5. MASTER LAYOUT: AUTHORITY FOOTER */
.premium-footer {
    background-color: var(--hc-slate);
    color: #94A3B8;
    padding-top: 5rem;
    padding-bottom: 2rem;
    border-top: 4px solid var(--hc-teal);
}

.footer-heading {
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-link {
    color: #94A3B8;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}
.footer-link:hover {
    color: var(--hc-teal);
    transform: translateX(4px);
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-circle:hover {
    background: var(--hc-teal);
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* 6. TOASTR OVERRIDES FOR PREMIUM FEEL */
#toast-container > div {
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    opacity: 1 !important;
}