/* Volunteer Popup Modal */
.volunteer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.volunteer-modal.active {
    display: flex;
}

.volunteer-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.volunteer-modal__container {
    position: relative;
    background-color: white;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.volunteer-modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
    z-index: 1;
}

.volunteer-modal__close:hover {
    color: #FDB913;
}

.volunteer-modal__content {
    padding: 40px;
}

.volunteer-modal__title {
    font-size: 28px;
    color: #000;
    margin-bottom: 10px;
    font-weight: 600;
}

.volunteer-modal__subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Form Styles */
.volunteer-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FDB913;
    box-shadow: 0 0 0 3px rgba(253, 185, 19, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff4444;
}

.form-response {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.form-response.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-response.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.volunteer-form__submit {
    background-color: #FDB913;
    color: #000;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.volunteer-form__submit:hover {
    background-color: #e5a712;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 185, 19, 0.3);
}

.volunteer-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .volunteer-modal__content {
        padding: 30px 20px;
    }

    .volunteer-modal__title {
        font-size: 24px;
    }
}