.modal-card {
    width: min(700px, 92vw);
    max-height: 90vh;
    overflow-y: auto;

    background: #fff;
    border-radius: 24px;

    padding: 40px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .18);
}

#volunteer-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media(max-width:768px) {

    .form-row {
        grid-template-columns: 1fr;
    }

}

#volunteer-form input,
#volunteer-form select,
#volunteer-form textarea {

    width: 100%;
    height: 52px;

    padding: 0 16px;

    border: 1px solid #d5d8df;
    border-radius: 12px;

    background: #fff;

    font-size: 15px;

    transition: .25s;

    appearance: auto;
    /* keep native controls */
}

#volunteer-form textarea {

    min-height: 140px;

    padding: 16px;

    resize: vertical;
}

#volunteer-form label {

    display: block;

    font-size: 15px;

    font-weight: 600;

    margin-bottom: 8px;

    color: #1f2937;
}

.primary-btn {

    height: 56px;

    border-radius: 12px;

    background: #0F766E;

    color: white;

    font-weight: 600;

    font-size: 17px;

    transition: .25s;
}

.primary-btn:hover {

    background: #115e59;

    transform: translateY(-1px);

}

.modal-title {

    font-size: 40px;

    font-weight: 700;

    color: #0F766E;

    margin-top: 10px;
}

.modal-subtitle {

    margin-top: 12px;

    color: #6b7280;

    line-height: 1.7;
}

.modal-close {

    position: absolute;

    top: 22px;
    right: 22px;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    font-size: 26px;

    transition: .2s;
}

.modal-close:hover {

    background: #f3f4f6;

}

#volunteer-form input[type="number"] {

    height: 52px;

    width: 100% !important;
}

#volunteer-form select {

    background-image: url("data:image/svg+xml,...");

    background-repeat: no-repeat;

    background-position: right 16px center;

    padding-right: 45px;
}