/* Styles pour la section VULNÉRABILITÉ - À ajouter dans style.css */

.vulnerability-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.1);
    position: relative;
    overflow: hidden;
}

.vulnerability-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #f39c12, #e74c3c);
    background-size: 300% 100%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-section {
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-section-title {
    font-size: 1.6em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #3498db, #2ecc71) 1;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.form-section-title::after {
    content: '✨';
    position: absolute;
    right: -35px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateY(-50%) scale(1.2); }
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.05em;
    position: relative;
    padding-left: 25px;
}

.form-group label::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
    font-size: 1.2em;
}

.vulnerability-radio-group {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.vulnerability-radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.vulnerability-radio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.2), transparent);
    transition: left 0.6s ease;
}

.vulnerability-radio-item:hover::before {
    left: 100%;
}

.vulnerability-radio-item:hover {
    border-color: #3498db;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.vulnerability-radio-item.selected {
    border-color: #3498db;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    transform: scale(1.05);
}

.vulnerability-radio-item.selected::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 1.2em;
    font-weight: bold;
    animation: checkmark 0.4s ease;
}

@keyframes checkmark {
    0% { transform: scale(0) rotate(-45deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.vulnerability-radio-item.selected label {
    color: white;
    font-weight: 700;
}

.vulnerability-radio-item input[type="radio"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #3498db;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.vulnerability-conditional-section {
    margin-top: 35px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 5px solid #3498db;
    display: none;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.vulnerability-conditional-section::before {
    content: '🔍';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2em;
    opacity: 0.1;
}

.vulnerability-conditional-section.visible {
    display: block;
    animation: slideDownFade 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-30px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 2000px;
    }
}

.vulnerability-section-title {
    display: block;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.15em;
    padding-left: 30px;
    position: relative;
}

.vulnerability-section-title::before {
    content: '📋';
    position: absolute;
    left: 0;
    font-size: 1.3em;
}

.vulnerability-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.vulnerability-checkbox-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border: 3px solid #dee2e6;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
    overflow: hidden;
}

.vulnerability-checkbox-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 204, 113, 0.1), transparent);
    transition: left 0.6s ease;
}

.vulnerability-checkbox-item:hover::before {
    left: 100%;
}

.vulnerability-checkbox-item:hover {
    border-color: #27ae60;
    background: linear-gradient(135deg, #f0fff4 0%, #e8f8f0 100%);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.2);
}

.vulnerability-checkbox-item.selected {
    border-color: #27ae60;
    background: linear-gradient(135deg, #d4edda 0%, #a8e6cf 100%);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
    transform: scale(1.03);
}

.vulnerability-checkbox-item.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 10px;
    color: #27ae60;
    font-size: 1.5em;
    font-weight: bold;
    animation: checkBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkBounce {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.3) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.vulnerability-checkbox-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #27ae60;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    background: white;
    position: relative;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group input[type="text"]::placeholder,
.form-group textarea::placeholder {
    color: #95a5a6;
    font-style: italic;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 12px;
    font-size: 1.05em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    box-shadow: 0 12px 35px rgba(39, 174, 96, 0.4);
}

.alert {
    padding: 20px 25px;
    border-radius: 12px;
    font-weight: 600;
    display: none;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #27ae60, #2ecc71);
}

.alert.show {
    display: block;
    animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #c3e6cb;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.2);
}

/* Ajout d'icônes personnalisées */
.form-group input[type="text"]:focus + .input-icon,
.form-group textarea:focus + .textarea-icon {
    color: #3498db;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive design */
@media (max-width: 768px) {
    .vulnerability-container {
        padding: 25px;
        border-radius: 12px;
    }

    .form-section {
        padding: 20px;
    }

    .vulnerability-radio-group {
        flex-direction: column;
        gap: 15px;
    }

    .vulnerability-radio-item {
        width: 100%;
        justify-content: center;
    }

    .vulnerability-checkbox-group {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-section-title {
        font-size: 1.3em;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .vulnerability-conditional-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .vulnerability-container {
        padding: 20px;
    }

    .form-section {
        padding: 15px;
    }

    .form-section-title {
        font-size: 1.2em;
    }

    .form-group label {
        font-size: 1em;
    }
}

/* Effets de scroll */
.vulnerability-container {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style pour les tooltips (optionnel) */
.form-group label[data-tooltip] {
    cursor: help;
    position: relative;
}

.form-group label[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 0;
    top: 100%;
    background: #2c3e50;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    white-space: nowrap;
    z-index: 1000;
    animation: tooltipFade 0.3s ease;
}

@keyframes tooltipFade {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Amélioration du focus pour l'accessibilité */
*:focus-visible {
    outline: 3px solid #3498db;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Animation de chargement pour les données */
.loading-data {
    position: relative;
}

.loading-data::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Style pour les boutons désactivés */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    box-shadow: none;
}

/* Effet de survol amélioré pour les sections */
.form-section {
    position: relative;
}

.form-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(52, 152, 219, 0);
    transition: box-shadow 0.3s ease;
    pointer-events: none;
}

.form-section:hover::after {
    box-shadow: 0 10px 40px rgba(52, 152, 219, 0.15);
}

/* Indicateur de remplissage */
.form-group.filled input,
.form-group.filled textarea {
    border-color: #27ae60;
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
}

/* Style print */
@media print {
    .vulnerability-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn {
        display: none;
    }
    
    .alert {
        display: none !important;
    }
}

.vulnerability-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.1);
    position: relative;
    overflow: hidden;
}

.vulnerability-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #f39c12, #e74c3c);
    background-size: 300% 100%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-section {
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-section-title {
    font-size: 1.6em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #3498db, #2ecc71) 1;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.form-section-title::after {
    content: '✨';
    position: absolute;
    right: -35px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateY(-50%) scale(1.2); }
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.05em;
    position: relative;
    padding-left: 25px;
}

.form-group label::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
    font-size: 1.2em;
}

.vulnerability-radio-group {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.vulnerability-radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.vulnerability-radio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.2), transparent);
    transition: left 0.6s ease;
}

.vulnerability-radio-item:hover::before {
    left: 100%;
}

.vulnerability-radio-item:hover {
    border-color: #3498db;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.vulnerability-radio-item.selected {
    border-color: #3498db;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    transform: scale(1.05);
}

.vulnerability-radio-item.selected::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 1.2em;
    font-weight: bold;
    animation: checkmark 0.4s ease;
}

@keyframes checkmark {
    0% { transform: scale(0) rotate(-45deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.vulnerability-radio-item.selected label {
    color: white;
    font-weight: 700;
}

.vulnerability-radio-item input[type="radio"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #3498db;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.vulnerability-conditional-section {
    margin-top: 35px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 5px solid #3498db;
    display: none;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.vulnerability-conditional-section::before {
    content: '🔍';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2em;
    opacity: 0.1;
}

.vulnerability-conditional-section.visible {
    display: block;
    animation: slideDownFade 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-30px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 2000px;
    }
}

.vulnerability-section-title {
    display: block;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.15em;
    padding-left: 30px;
    position: relative;
}

.vulnerability-section-title::before {
    content: '📋';
    position: absolute;
    left: 0;
    font-size: 1.3em;
}

.vulnerability-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.vulnerability-checkbox-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border: 3px solid #dee2e6;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
    overflow: hidden;
}

.vulnerability-checkbox-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 204, 113, 0.1), transparent);
    transition: left 0.6s ease;
}

.vulnerability-checkbox-item:hover::before {
    left: 100%;
}

.vulnerability-checkbox-item:hover {
    border-color: #27ae60;
    background: linear-gradient(135deg, #f0fff4 0%, #e8f8f0 100%);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.2);
}

.vulnerability-checkbox-item.selected {
    border-color: #27ae60;
    background: linear-gradient(135deg, #d4edda 0%, #a8e6cf 100%);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
    transform: scale(1.03);
}

.vulnerability-checkbox-item.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 10px;
    color: #27ae60;
    font-size: 1.5em;
    font-weight: bold;
    animation: checkBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkBounce {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.3) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.vulnerability-checkbox-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #27ae60;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    background: white;
    position: relative;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group input[type="text"]::placeholder,
.form-group textarea::placeholder {
    color: #95a5a6;
    font-style: italic;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 12px;
    font-size: 1.05em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    box-shadow: 0 12px 35px rgba(39, 174, 96, 0.4);
}

.alert {
    padding: 20px 25px;
    border-radius: 12px;
    font-weight: 600;
    display: none;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #27ae60, #2ecc71);
}

.alert.show {
    display: block;
    animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #c3e6cb;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.2);
}

/* Ajout d'icônes personnalisées */
.form-group input[type="text"]:focus + .input-icon,
.form-group textarea:focus + .textarea-icon {
    color: #3498db;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive design */
@media (max-width: 768px) {
    .vulnerability-container {
        padding: 25px;
        border-radius: 12px;
    }

    .form-section {
        padding: 20px;
    }

    .vulnerability-radio-group {
        flex-direction: column;
        gap: 15px;
    }

    .vulnerability-radio-item {
        width: 100%;
        justify-content: center;
    }

    .vulnerability-checkbox-group {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-section-title {
        font-size: 1.3em;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .vulnerability-conditional-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .vulnerability-container {
        padding: 20px;
    }

    .form-section {
        padding: 15px;
    }

    .form-section-title {
        font-size: 1.2em;
    }

    .form-group label {
        font-size: 1em;
    }
}

/* Effets de scroll */
.vulnerability-container {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style pour les tooltips (optionnel) */
.form-group label[data-tooltip] {
    cursor: help;
    position: relative;
}

.form-group label[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 0;
    top: 100%;
    background: #2c3e50;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    white-space: nowrap;
    z-index: 1000;
    animation: tooltipFade 0.3s ease;
}

@keyframes tooltipFade {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animation pour le champ "Si autre, précisez" */
#autreVulnerabiliteGroup {
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#autreVulnerabiliteGroup.show {
    animation: slideDownFade 0.4s ease;
}

/* Amélioration du focus pour l'accessibilité */
*:focus-visible {
    outline: 3px solid #3498db;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Animation de chargement pour les données */
.loading-data {
    position: relative;
}

.loading-data::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Style pour les boutons désactivés */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    box-shadow: none;
}

/* Effet de survol amélioré pour les sections */
.form-section {
    position: relative;
}

.form-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(52, 152, 219, 0);
    transition: box-shadow 0.3s ease;
    pointer-events: none;
}

.form-section:hover::after {
    box-shadow: 0 10px 40px rgba(52, 152, 219, 0.15);
}

/* Indicateur de remplissage */
.form-group.filled input,
.form-group.filled textarea {
    border-color: #27ae60;
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
}

/* Style print */
@media print {
    .vulnerability-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn {
        display: none;
    }
    
    .alert {
        display: none !important;
    }
}