.lgf-form-container {
    max-width: 800px;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.lgf-form-wrapper {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.lgf-form-header {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: white;
    padding: 2rem;
    text-align: center;
}

.lgf-progress-container {
    margin-top: 1.5rem;
}

.lgf-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.lgf-progress-bar-custom {
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    overflow: hidden;
}

.lgf-progress-fill {
    height: 100%;
    background: white;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.lgf-form-body {
    padding: 2rem;
}

.lgf-step {
    display: none;
}

.lgf-step.active {
    display: block;
}

.lgf-step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.lgf-step-header h2 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.lgf-step-header p {
    color: #666;
    margin: 0;
}

.lgf-form-body .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.lgf-form-body .form-control, 
.lgf-form-body .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.lgf-form-body .form-control:focus, 
.lgf-form-body .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.lgf-btn-custom {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.lgf-btn-primary-custom {
    background: #0d6efd;
    color: white;
}

.lgf-btn-primary-custom:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
    color: white;
}

.lgf-btn-success-custom {
    background: #198754;
    color: white;
}

.lgf-btn-success-custom:hover {
    background: #157347;
    transform: translateY(-2px);
    color: white;
}

.lgf-btn-secondary-custom {
    background: transparent;
    color: #6c757d;
}

.lgf-btn-secondary-custom:hover {
    color: #495057;
}

.lgf-error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.lgf-form-body .is-invalid {
    border-color: #dc3545;
}

.lgf-success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.lgf-success-icon {
    width: 80px;
    height: 80px;
    background: #d1edff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.lgf-loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: lgf-spin 1s ease-in-out infinite;
}

@keyframes lgf-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .lgf-form-container {
        margin: 1rem;
    }
    
    .lgf-form-wrapper {
        border-radius: 10px;
    }
    
    .lgf-form-header, 
    .lgf-form-body {
        padding: 1.5rem;
    }
    
    .lgf-btn-custom {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Éviter les conflits avec les thèmes WordPress */
.lgf-form-container * {
    box-sizing: border-box;
}

.lgf-form-container .btn {
    text-decoration: none !important;
}

.lgf-form-container .form-control:focus,
.lgf-form-container .form-select:focus {
    outline: none !important;
}