/* === Sponsor Form Styles === */

.mt-4 {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.mt-4 form {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 1.2rem;
    padding: 2rem;
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease-out backwards;
}

/* Shared input / select / textarea */
.mt-4 form input,
.mt-4 form select,
.mt-4 form textarea {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    color: #2d3748;
    font-size: clamp(0.85rem, 1vw, 1rem);
    font-weight: 500;
    padding: 0.75rem 1rem;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
}

.mt-4 form input::placeholder,
.mt-4 form textarea::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.mt-4 form input:focus,
.mt-4 form select:focus,
.mt-4 form textarea:focus {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* Select arrow */
.mt-4 form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0aec0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-color: #ffffff;
    padding-right: 2.5rem;
    cursor: pointer;
    color: #4a5568;
}

.mt-4 form select option {
    color: #2d3748;
}

/* Textarea */
.mt-4 form textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

/* Submit button — matches .backButton */
.mt-4 form button[type="submit"] {
    background: #2d3748;
    border-radius: 50px;
    color: white;
    padding: 14px 40px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: center;
    margin-top: 0.5rem;
}

.mt-4 form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #1a202c;
}

.mt-4 form button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Reuse the site's fadeInUp animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .mt-4 form {
        padding: 1.5rem 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .mt-4 form button[type="submit"] {
        width: 100%;
        text-align: center;
    }
}