/* Styles pour la page des paramètres de confidentialité */
.privacy-container {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--background-dark);
}

/* Hero Section */
.privacy-hero {
    background: var(--hero-gradient);
    padding: 4rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0,123,255,0.15) 0%, transparent 70%);
}

.privacy-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.privacy-hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Content Section */
.privacy-content {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-section {
    background: var(--card-background);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.privacy-section h2 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.privacy-section h2 i {
    color: var(--primary-color);
    font-size: 1.6rem;
}

.content-block {
    color: var(--text-gray);
}

/* Cookie Settings */
.cookie-settings {
    display: grid;
    gap: 1.5rem;
}

.cookie-option {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cookie-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-header h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:disabled + .slider {
    background-color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Data Settings */
.data-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.data-option {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.data-option h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.action-btn.delete {
    background: linear-gradient(45deg, #dc3545, #ff4d5b);
}

.action-btn.delete:hover {
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Notification Settings */
.notification-settings {
    display: grid;
    gap: 1.5rem;
}

.notification-option {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.notification-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.notification-header h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-hero h1 {
        font-size: 2.2rem;
    }

    .privacy-hero .subtitle {
        font-size: 1rem;
    }

    .privacy-section {
        padding: 1.5rem;
    }

    .data-settings {
        grid-template-columns: 1fr;
    }
}

/* Animation d'entrée */
.privacy-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.privacy-section:nth-child(2) {
    animation-delay: 0.2s;
}

.privacy-section:nth-child(3) {
    animation-delay: 0.4s;
}

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

.export-form {
    margin-top: 1rem;
}

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

.export-form input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.export-form input[type="email"]:focus {
    border-color: var(--primary-color);
    outline: none;
}

.status-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.status-message .info {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 0.75rem;
    border-radius: 4px;
}

.status-message .success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 0.75rem;
    border-radius: 4px;
}

.status-message .error {
    background-color: #ffebee;
    color: #c62828;
    padding: 0.75rem;
    border-radius: 4px;
}

.action-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
} 