/* /Layout/MainLayout.razor.rz.scp.css */
/* ========================================
   ChillCheck Main Layout
   Top Navigation Style (TempGuard-inspired)
   ======================================== */

/* ========================================
   App Layout Container
   ======================================== */

.app-layout[b-0sreorb0g6] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #F5F5F7;
}

/* ========================================
   Top Navigation Bar
   ======================================== */

.top-nav[b-0sreorb0g6] {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E5E7;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container[b-0sreorb0g6] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Brand / Logo */
.brand[b-0sreorb0g6] {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo[b-0sreorb0g6] {
    height: 128px;
    width: auto;
    object-fit: contain;
}

/* Main Navigation */
.main-nav[b-0sreorb0g6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-start;
    margin-left: 1rem;
}

.main-nav .nav-link[b-0sreorb0g6] {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #6E6E73;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.main-nav .nav-link:hover[b-0sreorb0g6] {
    color: #1D1D1F;
    background-color: rgba(0, 0, 0, 0.04);
}

/* Use ::deep to pierce CSS isolation for NavLink component */
[b-0sreorb0g6] .main-nav .nav-link.active,
.main-nav[b-0sreorb0g6]  .nav-link.active,
.main-nav .nav-link.active[b-0sreorb0g6] {
    color: #0EA5E9;
    background-color: rgba(14, 165, 233, 0.08);
    font-weight: 700;
    border-bottom: 2px solid #0EA5E9;
    border-radius: 8px 8px 0 0;
}

/* User Navigation */
.user-nav[b-0sreorb0g6] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.user-name[b-0sreorb0g6] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1D1D1F;
}

.sign-out-link[b-0sreorb0g6] {
    font-size: 0.8125rem;
    color: #6E6E73;
    text-decoration: none;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.sign-out-link:hover[b-0sreorb0g6] {
    color: #0EA5E9;
}

.account-link[b-0sreorb0g6] {
    font-size: 1.25rem;
    color: #6E6E73;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    padding: 0.25rem;
}

.account-link:hover[b-0sreorb0g6] {
    color: #0EA5E9;
}

.sign-in-btn[b-0sreorb0g6] {
    padding: 0.5rem 1.25rem;
    background: #0EA5E9;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sign-in-btn:hover[b-0sreorb0g6] {
    background: #0284C7;
    color: white;
}

/* ========================================
   Main Content Area
   ======================================== */

.main-content[b-0sreorb0g6] {
    flex: 1;
    padding: 2rem 0 3rem;
}

.content-container[b-0sreorb0g6] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   Mobile Responsive
   ======================================== */

@media (max-width: 768px) {
    .nav-container[b-0sreorb0g6] {
        padding: 0 1rem;
        height: 3.5rem;
        position: relative;
    }
    
    .brand-logo[b-0sreorb0g6] {
        height: 32px;
    }
    
    .content-container[b-0sreorb0g6] {
        padding: 0 1rem;
    }
    
    .main-content[b-0sreorb0g6] {
        padding: 1.5rem 0 2rem;
    }
}

/* Error UI styles are in wwwroot/css/app.css (global) since the element lives in index.html */
/* /Pages/Account.razor.rz.scp.css */
/* ========================================
   Account Settings Page Styles
   ======================================== */

/* Form switches styling adjustments */
.form-check-label[b-vqoat0jrf4] {
    cursor: pointer;
}

.form-check-label small[b-vqoat0jrf4] {
    display: block;
    margin-top: 0.25rem;
}

/* Danger zone styling */
.card.border-danger .card-header[b-vqoat0jrf4] {
    border-bottom: none;
}

/* Modal styling adjustments */
.modal .btn-close-white[b-vqoat0jrf4] {
    filter: brightness(0) invert(1);
}

/* Locked input icon styling */
.input-group-text .bi-lock-fill[b-vqoat0jrf4] {
    font-size: 0.875rem;
}
