/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f3f4f6;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.7;
    min-height: 100vh;
}

/* Private Nav */
.private-nav {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.private-nav .nav-brand {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.private-nav .nav-brand span {
    opacity: 0.75;
    font-weight: 400;
}

.private-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.private-nav .nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
}

.private-nav .nav-links a:hover,
.private-nav .nav-links a.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.lock-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.lock-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Page Container */
.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Page Header */
.page-header {
    margin-bottom: 36px;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.page-header p {
    color: #6b7280;
    font-size: 1rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 32px;
}

/* Dashboard nav cards */
.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.nav-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.nav-card-icon {
    font-size: 2rem;
}

.nav-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111827;
}

.nav-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .private-nav {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .private-nav .nav-links {
        flex-wrap: wrap;
    }

    .page-container {
        padding: 24px 16px;
    }

    .nav-cards {
        grid-template-columns: 1fr;
    }
}
