/* =========================================
   LOGIN PAGE — login.css
   ========================================= */
:root {
    --brand:      #ffcc00;
    --brand-dark: #e6b800;
    --brand-light:#fff8d6;
    --bg:         #f5f5f5;
    --surface:    #ffffff;
    --border:     #e0e0e0;
    --text:       #1a1a1a;
    --text-muted: #6b7280;
    --danger:     #ef4444;
    --radius:     10px;
    --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;
}

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

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

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

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

/* ── Form Fields ── */
.form-box {
    text-align: left;
}

.input {
    position: relative;
    margin-bottom: 28px;
}

.input label {
    display: block;
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
    z-index: 1;
}

.input input {
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--border);
    outline: none;
    font-size: 1rem;
    color: var(--text);
    padding: 10px 0 6px;
    background: transparent;
    transition: border-color var(--transition);
}

.input input:focus {
    border-bottom-color: var(--brand);
}

.input input:focus ~ label,
.input input:not(:placeholder-shown) ~ label {
    transform: translateY(-130%);
    font-size: 0.72rem;
    color: var(--text);
    font-weight: 600;
}

/* ── Response message ── */
p#response {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--danger);
    min-height: 22px;
    margin-bottom: 14px;
    text-align: center;
}

/* ── Submit Button ── */
button#btn {
    width: 100%;
    background: var(--brand);
    color: var(--text);
    border: none;
    border-radius: var(--radius);
    padding: 13px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(255,204,0,0.35);
}

button#btn:hover {
    background: var(--brand-dark);
    box-shadow: 0 4px 14px rgba(255,204,0,0.5);
    transform: translateY(-1px);
}

button#btn:active {
    transform: scale(0.97);
}

button#btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ── Hidden input ── */
.no-display { display: none; }

/* ── Responsive ── */
@media screen and (max-width: 480px) {
    .container {
        padding: 32px 24px;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
        justify-content: center;
        display: flex;
        flex-direction: column;
    }

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