* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 28px;
    z-index: 1000;
    border-bottom: 3px solid rgba(0,0,0,0.25);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-title {
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 0.3px;
}

.brand-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 11px;
    font-weight: normal;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.navbar-links a:hover {
    opacity: 0.75;
}

.hamburger {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* ── Container ── */
.container {
    min-height: 100vh;
    background: linear-gradient(135deg, #B71C1C 0%, #D32F2F 50%, #FF5722 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 90px 20px 60px; /* top padding accounts for fixed navbar */
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

input, select {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: #a01818;
}

input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

select {
    cursor: pointer;
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #a01818;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #8a1414;
}

.btn:active {
    transform: scale(0.98);
}

.link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.link a {
    color: #a01818;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.link a:hover {
    color: #8a1414;
    text-decoration: underline;
}

.error {
    background-color: #ffd6d6;
    color: #a01818;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
    border: 1px solid #ffb3b3;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 600px) {
    .card {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 15px;
    }

    .navbar-links.open a {
        display: block;
        position: absolute;
        background: #c0392b;
        top: 56px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 10px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }
}