/* Page Sécurité */
.securite-page {
    background: #000;
    color: #fff;
    min-height: 100vh;
    font-family: "utile", "brother-1816", sans-serif;
    padding: 2rem 0;
}

/* Sidebar gauche - Styles du profil */
.profil-sidebar {
    background: #000;
    padding: 2rem 1.5rem;
    border-right: 1px solid #333;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profil-avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.profil-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.4);
}

.avatar-edit-icon {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    z-index: 10;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: "brother-1816", sans-serif;
}

.sidebar-nav {
    background: transparent;
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
    font-family: "utile", sans-serif;
    font-size: 14px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.1);
}

.nav-icon {
    flex-shrink: 0;
}

.nav-item span {
    flex: 1;
}

.nav-arrow {
    flex-shrink: 0;
    opacity: 0.5;
}

.logout-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-family: "utile", sans-serif;
    font-size: 16px;
    margin-top: 1.5rem;
    padding-top: 1rem;
    transition: opacity 0.2s ease;
    width: 100%;
}

.logout-link:hover {
    opacity: 0.7;
}

.logout-arrow {
    transform: rotate(180deg);
}

.profil-content {
    padding: 2rem;
    background: #000;
}

/* Contenu sécurité */
.securite-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Section sécurité */
.securite-section {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 2rem;
}

.securite-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    font-family: "brother-1816", sans-serif;
}

/* Formulaire sécurité */
.securite-form {
    display: flex;
    flex-direction: column;
}

.securite-form .form-group {
    margin-bottom: 1rem;
}

.securite-form .form-label {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: "utile", sans-serif;
    display: block;
}

.securite-form .form-control {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 14px;
    font-family: "utile", sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.securite-form .form-control:focus {
    background: #2a2a2a;
    border-color: #7a27be;
    box-shadow: 0 0 0 2px rgba(122, 39, 190, 0.2);
    color: #fff;
    outline: none;
}

.securite-form .form-control::placeholder {
    color: #666;
}

/* Actions du formulaire */
.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.btn-update {
    background: #f36818;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: "utile", sans-serif;
}

.btn-update:hover {
    background: #e55a0f;
    transform: translateY(-1px);
}

/* Lien supprimer compte */
.delete-account-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-family: "utile", sans-serif;
    transition: opacity 0.2s ease;
    display: inline-block;
    margin-top: 0.5rem;
}

.delete-account-link:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 991.98px) {
    .profil-sidebar {
        border-right: none;
        border-bottom: 1px solid #333;
    }
    
    .profil-content {
        padding: 1.5rem;
    }
    
    .securite-section {
        padding: 1.5rem;
    }
}

