html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #111;
    color: white;
}

body {
    background: radial-gradient(circle at top, rgba(214, 11, 81, 0.18), transparent 35%), #111;
}

.page {
    min-height: 100vh;
}

.request-page {
    min-height: 100vh;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.event-logo-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 280px;
    margin-bottom: 22px;
    overflow: hidden;
    border-radius: 20px;
    background: #1c1c1c;
    box-sizing: border-box;
    flex: none;
}

    .event-logo-box .event-logo {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        border-radius: 0;
    }

.request-card {
    width: 100%;
    box-sizing: border-box;
    background: #1c1c1c;
    border-radius: 22px;
    padding: 24px 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

    .request-card h1 {
        margin: 0;
        font-size: 30px;
        line-height: 1.15;
        text-align: center;
        font-weight: 400;
    }

.subtitle {
    margin: 12px 0 28px 0;
    color: #d7d7d7;
    text-align: center;
    font-size: 17px;
}

.form-group {
    margin-bottom: 22px;
}

    .form-group label {
        display: block;
        margin-bottom: 9px;
        font-weight: bold;
        font-size: 16px;
    }

.form-control {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #333;
    border-radius: 18px;
    padding: 18px;
    font-size: 20px;
    background: #fff;
    color: #111;
    outline: none;
}

    .form-control:focus {
        border-color: #d60b51;
        box-shadow: 0 0 0 3px rgba(214, 11, 81, 0.25);
    }

.textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    border: none;
    border-radius: 20px;
    padding: 20px;
    font-size: 21px;
    font-weight: bold;
    color: white;
    background: #d60b51;
    cursor: pointer;
}

    .submit-button:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.success-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 16px;
    background: #153d24;
    color: #b7ffd0;
    text-align: center;
    font-weight: bold;
}

.error-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 16px;
    background: #4a1515;
    color: #ffd0d0;
    text-align: center;
    font-weight: bold;
}

.validation-message {
    color: #ff8fae;
    font-size: 14px;
    margin-top: 7px;
}

.footer-logo-box {
    margin-top: auto;
    padding-top: 28px;
    text-align: center;
    color: #aaa;
    font-size: 13px;
}

.footer-logo {
    display: block;
    margin: 8px auto 0 auto;
    max-width: 130px;
    height: auto;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
    border-radius: 12px;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

@media (max-width: 420px) {
    .request-page {
        max-width: 100%;
        padding: 12px;
    }

    .event-logo-box {
        width: 100%;
        aspect-ratio: 16 / 9;
        max-height: none;
        border-radius: 18px;
    }

        .event-logo-box .event-logo {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .request-card {
        border-radius: 18px;
        padding: 22px 16px;
    }

        .request-card h1 {
            font-size: 27px;
        }

    .subtitle {
        font-size: 16px;
    }

    .form-control {
        font-size: 18px;
        padding: 16px;
    }

    .submit-button {
        font-size: 19px;
        padding: 18px;
    }
}
