/* Cookie Settings Page Styles */
.cookie-settings-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-settings-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.cookie-settings-header .main-title {
    color: #009e8a;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cookie-settings-header .main-title i {
    margin-right: 0.75rem;
    color: #ffd700;
}

.cookie-settings-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.cookie-settings-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cookie-category {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #009e8a;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-category-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-category-header h2 i {
    color: #009e8a;
}

.cookie-category p {
    margin: 0 0 1rem 0;
    color: #666;
    line-height: 1.6;
}

.cookie-details {
    margin: 0;
    padding-left: 1.5rem;
    color: #555;
}

.cookie-details li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.cookie-details strong {
    color: #333;
}

/* Toggle Switch Styles */
.cookie-toggle {
    position: relative;
}

.cookie-toggle input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    background-color: #ccc;
    border-radius: 34px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-label:hover {
    background-color: #b3b3b3;
}

.toggle-slider {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .toggle-label {
    background-color: #009e8a;
}

.cookie-toggle input:checked + .toggle-label:hover {
    background-color: #007a6b;
}

.cookie-toggle input:checked + .toggle-label .toggle-slider {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .toggle-label {
    background-color: #009e8a;
    cursor: not-allowed;
}

.cookie-toggle input:disabled + .toggle-label:hover {
    background-color: #009e8a;
}

/* Cookie Info Section */
.cookie-info {
    background: #e8f4fd;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #007bff;
}

.cookie-info h3 {
    margin: 0 0 1rem 0;
    color: #007bff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
}

.cookie-info-content p {
    margin: 0 0 0.75rem 0;
    color: #555;
    line-height: 1.6;
}

.cookie-info-content p:last-child {
    margin-bottom: 0;
}

.cookie-info-content strong {
    color: #333;
}

/* Cookie Actions */
.cookie-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.cookie-actions button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 160px;
    justify-content: center;
}

.cookie-actions .button-primary {
    background: #009e8a;
    color: white;
}

.cookie-actions .button-primary:hover {
    background: #007a6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 158, 138, 0.3);
}

.cookie-actions .button-secondary {
    background: transparent;
    color: #009e8a;
    border: 2px solid #009e8a;
}

.cookie-actions .button-secondary:hover {
    background: #009e8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 158, 138, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-settings-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .cookie-settings-header .main-title {
        font-size: 2rem;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-actions button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .cookie-settings-container {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .cookie-settings-header .main-title {
        font-size: 1.75rem;
    }
    
    .cookie-category {
        padding: 1rem;
    }
    
    .cookie-info {
        padding: 1rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cookie-settings-container {
        border: 2px solid #000;
    }
    
    .cookie-category {
        border: 2px solid #009e8a;
    }
    
    .cookie-info {
        border: 2px solid #007bff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .toggle-label,
    .toggle-slider,
    .cookie-actions button {
        transition: none;
    }
    
    .cookie-actions button:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
.cookie-toggle input:focus + .toggle-label {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

.cookie-actions button:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
} 