* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
    color: #ffffff;
}

/* Page login */
.login-page {
    min-height: 100vh;
    background-image:  url("../images/gameromeimage.png");
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Card */
.login-card {
    width: 100%;
    max-width: 560px;
    background: rgba(13, 27, 48, 0.94);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
}

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 24px;
}

.login-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #172554;
    border: 1px solid #38bdf8;
    color: #ffffff;
    font-size: 28px;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.25);
}

.login-header h1 {
    font-size: 40px;
    margin-bottom: 8px;
}

.login-header p {
    color: #cbd5e1;
}

/* Error */
.alert-error {
    padding: 12px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #fecaca;
    text-align: center;
    margin-bottom: 18px;
    font-weight: bold;
}

/* Role selector */
.role-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.role-option input {
    display: none;
}

.role-option span {
    height: 54px;
    border: 1px solid #334155;
    border-radius: 12px;

    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;

    background: #0f172a;
    color: #e5e7eb;
    font-weight: 700;
    cursor: pointer;
}

.role-option input:checked + span {
    background: #1d4ed8;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

/* Inputs */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #f8fafc;
}

.input-box {
    position: relative;
}

.input-box i {
    position: absolute;
    left: 16px;
    top: 17px;
    color: #94a3b8;
}

.input-box input {
    width: 100%;
    height: 54px;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #020617;
    color: #ffffff;
    padding: 0 16px 0 46px;
    font-size: 16px;
}

.input-box input::placeholder {
    color: #94a3b8;
}

.input-box input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

/* Button */
.login-btn {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 800;
    font-size: 17px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover {
    background: #1d4ed8;
}

/* Notes */
.login-note,
.login-test {
    text-align: center;
    color: #cbd5e1;
    margin-top: 16px;
    font-size: 14px;
}

.login-test {
    color: #93c5fd;
}

/* Responsive */
@media (max-width: 620px) {
    .role-selector {
        grid-template-columns: 1fr;
    }

    .login-card {
        padding: 24px;
    }

    .login-header h1 {
        font-size: 32px;
    }
}
