.volunteer-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.volunteer-card-header {
    background: linear-gradient(135deg, #770084 0%, #1c90ff 100%);
    color: #ffffff;
    padding: 25px 30px;
    text-align: center;
}

    .volunteer-card-header h2 {
        margin: 0;
        font-family: 'Outfit', sans-serif;
        font-weight: 600;
        font-size: 28px;
    }

    .volunteer-card-header .event-name {
        font-size: 18px;
        margin-top: 10px;
        opacity: 0.95;
        font-weight: 400;
    }

.volunteer-card-body {
    padding: 35px 30px;
}

.volunteer-form .form-group {
    margin-bottom: 25px;
}

.volunteer-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
}

    .volunteer-form label .required {
        color: #dc3545;
        margin-left: 3px;
    }

.volunteer-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

    .volunteer-form .form-control:focus {
        border-color: #1c90ff;
        box-shadow: 0 0 0 0.2rem rgba(28, 144, 255, 0.15);
        outline: none;
    }

.volunteer-form #ServiceData.form-control:read-only {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

    .volunteer-form .form-control.is-invalid {
        border-color: #dc3545;
    }

    .volunteer-form .form-control.is-valid {
        border-color: #28a745;
    }


.volunteer-submit-btn {
    background: linear-gradient(135deg, #770084 0%, #1c90ff 100%);
    border: none;
    color: #ffffff;
    padding: 14px 45px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(119, 0, 132, 0.3);
}

    .volunteer-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(119, 0, 132, 0.4);
    }

    .volunteer-submit-btn:active {
        transform: translateY(0);
    }

    .volunteer-submit-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

    .loading-spinner .spinner {
        border: 4px solid rgba(255, 255, 255, 0.3);
        border-top: 4px solid #ffffff;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: spin 1s linear infinite;
    }

    .loading-spinner .loading-text {
        margin-top: 20px;
        font-size: 16px;
        font-weight: 500;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#notificationContainer {
    position: sticky;
    top: 120px;
    z-index: 1020;
    margin-bottom: 20px;
}

    #notificationContainer .alert {
        border-radius: 6px;
        font-size: 15px;
        padding: 15px 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.no-event-message {
    text-align: center;
    padding: 50px 20px;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    color: #856404;
    font-size: 18px;
    font-weight: 500;
}

@media (max-width: 767px) {
    .volunteer-card-header h2 {
        font-size: 24px;
    }

    .volunteer-card-header .event-name {
        font-size: 16px;
    }

    .volunteer-card-body {
        padding: 25px 20px;
    }

    .volunteer-form .form-group {
        margin-bottom: 20px;
    }

    .volunteer-submit-btn {
        width: 100%;
        padding: 12px 30px;
        font-size: 16px;
    }

    #notificationContainer {
        top: 150px;
    }
}

@media (max-width: 575px) {

    .volunteer-card-header {
        padding: 20px 15px;
    }

        .volunteer-card-header h2 {
            font-size: 20px;
        }

    .volunteer-card-body {
        padding: 20px 15px;
    }

    .volunteer-form label {
        font-size: 14px;
    }
}
