/* =========================================
   PORTAL SELECTOR — index.css
   ========================================= */
:root {
    --brand:      #ffcc00;
    --brand-dark: #e6b800;
    --brand-light:#fff8d6;
    --bg:         #f5f5f5;
    --surface:    #ffffff;
    --text:       #1a1a1a;
    --text-muted: #6b7280;
    --radius:     12px;
    --shadow:     0 4px 24px rgba(0,0,0,0.09);
    --transition: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    text-decoration: none;
    color: inherit;
}

body {
    background: var(--bg);
    display: flex;
    width: 100vw;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

/* ── Central Card ── */
.container {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 48px 40px;
    text-align: center;
    width: 100%;
    max-width: 560px;
    border-top: 4px solid var(--brand);
}

.container h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.container h2 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* ── Role Selector Grid ── */
.flex-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.flex-box a {
    background: var(--brand-light);
    border: 2px solid var(--brand);
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    padding: 20px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.flex-box a:hover {
    background: var(--brand);
    border-color: var(--brand-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.45);
}

.flex-box a:active {
    transform: scale(0.97);
}

/* ── Responsive ── */
@media screen and (max-width: 500px) {
    .container {
        padding: 36px 20px;
        border-radius: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .container h1 { font-size: 1.5rem; }
    .container h2 { font-size: 0.85rem; }

    .flex-box {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}