/* Basic starter styles, to be replaced with your modern theme later */

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f5f5f7;
    color: #222;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}


.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.app-header-left h1 {
    font-size: 1.2rem;
    margin: 0;
}

.app-header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Hamburger initially hidden on desktop */
.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
}

/* Mobile layout */
@media (max-width: 640px) {
    .app-header {
        position: relative;
    }

    .nav-toggle {
        display: block;
    }

    .app-header-actions {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        margin-top: 0.25rem;
        padding: 0.5rem 1rem 0.75rem;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        display: none; /* hidden by default */
        flex-direction: column;
        gap: 0.4rem;
        z-index: 50;
    }

    .app-header-actions.show {
        display: flex;
    }

    .app-header-actions .btn {
        width: 100%;
        text-align: left;
        padding: 0.45rem 0.6rem;
        font-size: 0.9rem;
    }
}





.card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.2;
    background: #2563eb;
    color: #ffffff;
}

.btn-secondary {
    background: #64748b;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.flash-success {
    background: #ecfdf3;
    color: #166534;
}

.flash-error {
    background: #fef2f2;
    color: #b91c1c;
}
