/* style.css - Modular Sidebar Dashboard Architecture */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #334155;
    min-height: 100vh;
}

/* Master Layout Grid wrapper splits sidebar from screen content */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Navigation Sidebar Tray Panel Drawer layout rules */
.sidebar {
    width: 260px;
    background-color: #1e293b;
    color: #f1f5f9;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    flex-shrink: 0;
}

.sidebar-parent {
    background-color: #0f172a; /* Distinct deep dark panel profile layout for parents */
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.925rem;
    transition: all 0.2s;
    color: #cbd5e1;
}
.nav-item:hover, .nav-item.active {
    background-color: #334155;
    color: #ffffff;
}
.sidebar-parent .nav-item:hover, .sidebar-parent .nav-item.active {
    background-color: #1e293b;
}

/* Main Content Module window viewport block dimensions */
.content-area {
    flex-grow: 1;
    padding: 2rem;
    max-width: 900px;
}

/* View Sub-Page visibility panel modifiers toggle switches */
.view-panel {
    display: none; /* Sub-pages remain hidden natively until activated via JS scripts */
}
.view-panel.active {
    display: block;
}

/* Reusable UI Block Layout Card components definitions mapping framework */
section {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.01);
}

h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.chore-card {
    background: #ffffff;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.chore-card h3 { font-size: 1rem; font-weight: 700; color: #1e293b; }
.chore-card p { font-size: 0.75rem; color: #94a3b8; margin-top: 0.25rem; }

/* Control Interface button element visual variables */
.btn-drop { background-color: #fef3c7; color: #b45309; border: none; padding: 0.5rem 0.75rem; border-radius: 0.5rem; font-weight: 700; cursor: pointer; }
.btn-delete { background-color: #fee2e2; color: #ef4444; border: none; padding: 0.5rem 0.75rem; border-radius: 0.5rem; font-weight: 700; cursor: pointer; }
.btn-primary { background-color: #f59e0b; color: white; border: none; padding: 0.75rem; border-radius: 0.5rem; font-weight: 700; cursor: pointer; width: 100%; }

.badge-market { padding: 0.25rem 0.5rem; border-radius: 0.25rem; font-size: 0.625rem; font-weight: 900; text-transform: uppercase; }
.form-group { margin-bottom: 1rem; display: flex; flex-direction: column; }
.form-group label { font-size: 0.75rem; font-weight: 700; color: #475569; margin-bottom: 0.25rem; }
.form-control { padding: 0.625rem; border-radius: 0.5rem; border: 1px solid #cbd5e1; font-size: 0.875rem; }
.empty-text { font-size: 0.875rem; color: #94a3b8; text-align: center; }

/* --- LOGIN PORTAL UTILITY CLASSES --- */
.portal-frame {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0f172a; /* Deep dark profile theme backdrop */
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
}

.portal-box {
    background-color: #ffffff; /* Clean white card panel background */
    padding: 2.5rem 2rem;
    border-radius: 1rem; /* Smooth rounded outline curves */
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.portal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.portal-logo {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.portal-box h1 {
    margin: 0;
    color: #0f172a;
    font-weight: 800;
    font-size: 1.75rem;
    border: none;
    padding: 0;
}

.portal-box label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.375rem;
}

.portal-box .toggle-link {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    color: #2563eb;
    text-decoration: none;
    margin-top: 1.5rem;
    font-weight: 600;
}

.portal-box .toggle-link:hover {
    text-decoration: underline;
}

.portal-box p {
    color: #64748b;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}