/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e8ed;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner.hide {
    transform: translateY(100px);
    opacity: 0;
}

.cookie-banner-content {
    padding: 24px;
}

.cookie-banner h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1d18af;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.cookie-banner p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.cookie-banner a {
    color: #1d18af;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner a:hover {
    color: #0f0d7a;
    text-decoration: none;
}

.cookie-banner-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
}

.cookie-btn-primary {
    background: #1d18af;
    color: white;
}

.cookie-btn-primary:hover {
    background: #0f0d7a;
    color: white;
}

.cookie-btn-secondary {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.cookie-btn-secondary:hover {
    background: #e2e8f0;
    color: #475569;
}

.cookie-btn-outline {
    background: transparent;
    color: #1d18af;
    border: 1px solid #1d18af;
}

.cookie-btn-outline:hover {
    background: #1d18af;
    color: white;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cookie-settings-header {
    padding: 24px 24px 16px 24px;
}

.cookie-settings-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d18af;
    margin: 0;
}

.cookie-settings-body {
    padding: 24px;
}

.cookie-category {
    margin-bottom: 24px;
    padding-bottom: 24px;
}

.cookie-category:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cookie-category-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.cookie-category-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #1d18af;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-settings-footer {
    padding: 16px 24px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid #e5e8ed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-settings-content {
        width: 95%;
        margin: 20px;
    }
    
    .cookie-settings-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 12px;
        right: 12px;
        left: 12px;
    }
    
    .cookie-banner-content {
        padding: 20px;
    }
    
    .cookie-banner h3 {
        font-size: 16px;
    }
    
    .cookie-banner p {
        font-size: 13px;
    }
}

/* Animation keyframes */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

/* Cookie Policy Page Styles */
.cookie-policy-content {
    text-align: left;
    max-width: none;
    color: #333;
}

.policy-section {
    margin-bottom: 1.5rem;
}


.policy-intro {
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #1d18af;
    margin-bottom: 1rem;
    font-weight: 400;
}

.policy-heading {
    font-size: 24px;
    font-weight: 700;
    color: #1d18af;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    position: relative;
}

.policy-subheading {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    position: relative;
}


.policy-text {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
    font-weight: 400;
}

.policy-text p {
    margin-bottom: 1rem;
}

.policy-text strong,
.policy-text b {
    color: #1e293b;
    font-weight: 600;
}

/* Contact info styling */
.contact-info {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.contact-info strong {
    color: #1d18af;
}

/* List styling for cookie policy */
.policy-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-text li {
    margin-bottom: 0.5rem;
    color: #64748b;
    position: relative;
}

.policy-text li:before {
    content: '•';
    color: #1d18af;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* Responsive adjustments for policy page */
@media (max-width: 768px) {
    .policy-heading {
        font-size: 20px;
    }
    
    .policy-subheading {
        font-size: 18px;
    }
    
    .policy-text {
        font-size: 14px;
    }
    
    .policy-intro,
    .contact-info {
        padding: 1rem;
    }
    
    .policy-section {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .policy-heading {
        font-size: 18px;
    }
    
    .policy-subheading {
        font-size: 16px;
    }
    
    .policy-text {
        font-size: 13px;
    }
}
