/* Privacy Policy Page Styles */

/* Ensure variables are available */
:root {
    --primary-color: #0f172a;
    --accent-color: #FD7903;
    --white: #ffffff;
    --text-color: #0f172a;
    --muted-text: #475569;
}

.privacy-content {
    padding: 4rem 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.privacy-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 3rem;
}

.privacy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.privacy-section h2 {
    color: #0f172a;
    color: var(--primary-color, #0f172a);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #FD7903;
    border-bottom-color: var(--accent-color, #FD7903);
    display: inline-block;
}

.privacy-section h3 {
    color: #0f172a;
    color: var(--primary-color, #0f172a);
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
}

.privacy-section h4 {
    color: #0f172a;
    color: var(--primary-color, #0f172a);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem 0;
}

.privacy-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #555;
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #555;
}

.privacy-section strong {
    color: #0f172a;
    color: var(--primary-color, #0f172a);
    font-weight: 600;
}

.last-updated {
    font-style: italic;
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Cookie Types Grid */
.cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cookie-type {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #FD7903;
    border-left-color: var(--accent-color, #FD7903);
}

.cookie-type h4 {
    margin-top: 0;
    color: #0f172a;
    color: var(--primary-color, #0f172a);
    font-size: 1.1rem;
}

.cookie-type p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.cookie-type ul {
    margin: 0;
    padding-left: 1.2rem;
}

.cookie-type li {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.right-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.right-item h4 {
    margin-top: 0;
    color: #0f172a;
    color: var(--primary-color, #0f172a);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.right-item p {
    margin: 0.5rem 0 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact Info */
.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.contact-info a {
    color: #FD7903;
    color: var(--accent-color, #FD7903);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Authority Info */
.authority-info {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #2196f3;
}

.authority-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.authority-info a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
}

.authority-info a:hover {
    text-decoration: underline;
}

/* Form Details Styling */
.form-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #FD7903;
    border-left-color: var(--accent-color, #FD7903);
}

.form-details p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-details ul {
    margin: 1rem 0;
}

.form-details li {
    margin-bottom: 0.5rem;
}

.purpose-details {
    background: #e8f5e8;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #28a745;
}

.purpose-details p {
    margin-bottom: 1rem;
    font-weight: 500;
    color: #155724;
}

.purpose-details ul {
    margin: 1rem 0;
}

.purpose-details li {
    margin-bottom: 0.5rem;
}

.retention-details {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #ffc107;
}

.retention-details ul {
    margin: 1rem 0;
}

.retention-details li {
    margin-bottom: 0.5rem;
}

.form-specific {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #2196f3;
}

.form-specific p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-specific ul {
    margin: 1rem 0;
}

.form-specific li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-wrapper {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .cookie-types {
        grid-template-columns: 1fr;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .right-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .privacy-wrapper {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .privacy-section h2 {
        font-size: 1.3rem;
    }
    
    .privacy-section h3 {
        font-size: 1.1rem;
    }
    
    .cookie-type,
    .contact-info,
    .authority-info {
        padding: 1rem;
    }
}
