body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.card {
    border-radius: 15px;
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    border: none;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.step {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #dee2e6;
    z-index: 1;
}

.step.completed:not(:last-child)::after {
    background: #28a745;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 15px;
    position: relative;
    z-index: 2;
}

.step.active .step-number {
    background: #007bff;
    color: white;
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step.pending .step-number {
    background: #dee2e6;
    color: #6c757d;
}

.step-text {
    font-weight: 500;
}

.step.active .step-text {
    color: #007bff;
}

.step.completed .step-text {
    color: #28a745;
}

.form-container {
    padding: 2rem;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control:focus,
.form-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.btn {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

.review-section {
    border-left: 4px solid #6366f1;
    transition: all 0.3s ease;
}

.review-section:hover {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    transform: translateX(5px);
}

.review-field {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.review-field:last-child {
    border-bottom: none;
}

.error-message {
    display: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Accordion styling for work experience */
.accordion-button {
    font-weight: 600;
    color: #495057;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #6366f1;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-body {
    background-color: #fff;
}

/* reCAPTCHA styling */
.g-recaptcha {
    margin: 0 auto;
}

#recaptchaError {
    animation: fadeIn 0.3s ease-in;
}

@media (max-width: 768px) {
    .wizard-steps {
        /* flex-direction: row; */
        gap: 5px;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .card-footer .d-flex {
        flex-direction: column;
        gap: 10px;
    }

    .card-footer .btn {
        width: 100%;
    }

    .form-container {
        padding: 1.5rem;
    }
}