/* ==================== LAYOUT (Header, Main, Nav) ==================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: var(--bg-secondary);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body.female-theme .header {
    box-shadow: 0 2px 10px rgba(212, 120, 168, 0.1);
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.url-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-input);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.url-bar i {
    font-size: 12px;
}

.main-content {
    padding-top: 10px;
    padding-bottom: 80px;
    min-height: 100vh;
}


.page {
    display: none;
    padding: 15px;
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 20px;
    font-weight: 600;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
    z-index: 1000;
}

body.female-theme .bottom-nav {
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    padding: 5px 15px;
}

.nav-item.active {
    color: var(--accent-primary);
}

.nav-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon i {
    font-size: 20px;
}
