/**
 * MODAL CRÉATION COMPTE - SSINT VTC
 * Styles pour la popup de proposition de création de compte
 * À placer dans /css/modal-compte.css
 */

/* ===== MODAL CRÉATION COMPTE ===== */
.account-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.account-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.account-modal-content {
    position: relative;
    background: #1a1a1a;
    border: 2px solid #d4af37;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.account-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #d4af37;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
}

.account-modal-close:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: rotate(90deg);
}

.account-modal-header {
    text-align: center;
    padding: 40px 30px 20px;
    border-bottom: 1px solid #333;
}

.account-modal-icon {
    font-size: 64px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.4));
}

.account-modal-header h2 {
    color: #d4af37;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.account-modal-header p {
    color: #ccc;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

.account-modal-body {
    padding: 30px;
}

.account-benefits h3 {
    color: #d4af37;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: start;
    gap: 15px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid #333;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 32px;
    min-width: 32px;
    filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.3));
}

.benefit-content {
    flex: 1;
}

.benefit-content strong {
    color: #fff;
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.benefit-content small {
    color: #999;
    font-size: 14px;
    line-height: 1.4;
}

.account-modal-note {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid #2196f3;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    align-items: start;
    gap: 12px;
}

.note-icon {
    font-size: 24px;
    min-width: 24px;
}

.account-modal-note p {
    color: #2196f3;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.account-modal-actions {
    padding: 20px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-create-account {
    background: linear-gradient(135deg, #d4af37 0%, #f0c54a 100%);
    color: #000;
    border: none;
    padding: 16px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.btn-create-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-create-account .btn-icon {
    font-size: 24px;
}

.btn-continue-guest {
    background: transparent;
    color: #999;
    border: 2px solid #333;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-continue-guest:hover {
    color: #d4af37;
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .account-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .account-modal-header {
        padding: 30px 20px 20px;
    }
    
    .account-modal-icon {
        font-size: 48px;
    }
    
    .account-modal-header h2 {
        font-size: 24px;
    }
    
    .account-modal-body {
        padding: 20px;
    }
    
    .benefits-list li {
        padding: 12px;
    }
    
    .benefit-icon {
        font-size: 24px;
        min-width: 24px;
    }
    
    .benefit-content strong {
        font-size: 14px;
    }
    
    .benefit-content small {
        font-size: 12px;
    }
    
    .btn-create-account {
        font-size: 16px;
        padding: 14px 24px;
    }
}

/* Scrollbar personnalisée pour la modal */
.account-modal-content::-webkit-scrollbar {
    width: 8px;
}

.account-modal-content::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.account-modal-content::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

.account-modal-content::-webkit-scrollbar-thumb:hover {
    background: #f0c54a;
}
