/* Cookie Simple Banner Styles */
.cookie-simple-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    animation: slideInUp 0.4s ease-out;
    max-width: 420px;
    width: calc(100vw - 40px);
}

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

.cookie-simple-content {
    padding: 20px;
}

.cookie-simple-text h4 {
    margin: 0 0 12px 0;
    color: #212529;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.cookie-simple-text p {
    margin: 0 0 16px 0;
    color: #495057;
    font-size: 13px;
    line-height: 1.5;
}

.cookie-simple-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-simple-actions .btn {
    border-radius: 6px;
    font-size: 13px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 120px;
}

.cookie-simple-actions .btn-outline-primary {
    color: #3c50b4;
    border-color: #3c50b4;
    background-color: transparent;
}

.cookie-simple-actions .btn-outline-primary:hover {
    background-color: #3c50b4;
    border-color: #3c50b4;
    color: #ffffff;
}

.cookie-simple-actions .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.cookie-simple-actions .btn-success:hover {
    background-color: #218838;
    border-color: #218838;
}

/* Cookie Detailed Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 3px solid #3c50b4;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    animation: slideUp 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.cookie-consent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e9ecef;
}

.cookie-consent-header h4 {
    margin: 0;
    color: #212529;
    font-size: 1.25rem;
    font-weight: 600;
}

.cookie-consent-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cookie-consent-close:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.cookie-consent-body {
    padding: 20px 24px;
}

.cookie-consent-description {
    margin-bottom: 24px;
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-categories {
    margin-bottom: 20px;
}

.cookie-category {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.cookie-category:hover {
    border-color: #3c50b4;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: #f8f9fa;
    cursor: pointer;
}

.cookie-category-label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    flex-grow: 1;
}

.cookie-category-label input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #3c50b4;
}

.cookie-category-label input[type="checkbox"]:disabled {
    opacity: 0.6;
}

.cookie-category-title {
    font-weight: 600;
    color: #212529;
    font-size: 14px;
}

.cookie-category-toggle {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-category-toggle:hover {
    background-color: #e9ecef;
    color: #495057;
}

.cookie-toggle-icon {
    transition: transform 0.2s ease;
}

.cookie-category-toggle.active .cookie-toggle-icon {
    transform: rotate(45deg);
}

.cookie-category-details {
    padding: 16px 20px;
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    animation: slideDown 0.3s ease-out;
}

.cookie-category-details p {
    margin-bottom: 8px;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
}

.cookie-category-details small {
    color: #868e96;
    font-size: 12px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

.cookie-consent-footer {
    padding: 20px 24px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cookie-consent-actions .btn {
    border-radius: 6px;
    font-size: 14px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cookie-consent-actions .btn-primary {
    background-color: #3c50b4;
    border-color: #3c50b4;
}

.cookie-consent-actions .btn-primary:hover {
    background-color: #2d3e8f;
    border-color: #2d3e8f;
}

.cookie-consent-actions .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.cookie-consent-actions .btn-success:hover {
    background-color: #218838;
    border-color: #218838;
}

.cookie-consent-actions .btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.cookie-consent-actions .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
}

.cookie-consent-links {
    text-align: center;
}

.cookie-policy-link {
    color: #3c50b4;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.cookie-policy-link:hover {
    color: #2d3e8f;
    text-decoration: underline;
}

/* Cookie Settings Button */
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3c50b4;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(60, 80, 180, 0.3);
    z-index: 9999;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-settings-btn:hover {
    background-color: #2d3e8f;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(60, 80, 180, 0.4);
}

/* Dark Mode Support */
.dark-mode .cookie-simple-banner {
    background: #2d3748;
    border-color: #4a5568;
}

.dark-mode .cookie-simple-text h4 {
    color: #f7fafc;
}

.dark-mode .cookie-simple-text p {
    color: #cbd5e0;
}

.dark-mode .cookie-simple-actions .btn-outline-primary {
    color: #4299e1;
    border-color: #4299e1;
}

.dark-mode .cookie-simple-actions .btn-outline-primary:hover {
    background-color: #4299e1;
    border-color: #4299e1;
    color: #ffffff;
}

.dark-mode .cookie-consent-banner {
    background: #2d3748;
    border-top-color: #4299e1;
}

.dark-mode .cookie-consent-header {
    border-bottom-color: #4a5568;
}

.dark-mode .cookie-consent-header h4 {
    color: #f7fafc;
}

.dark-mode .cookie-consent-close {
    color: #a0aec0;
}

.dark-mode .cookie-consent-close:hover {
    background-color: #4a5568;
    color: #e2e8f0;
}

.dark-mode .cookie-consent-description {
    color: #cbd5e0;
}

.dark-mode .cookie-category {
    border-color: #4a5568;
    background-color: #2d3748;
}

.dark-mode .cookie-category:hover {
    border-color: #4299e1;
}

.dark-mode .cookie-category-header {
    background-color: #4a5568;
}

.dark-mode .cookie-category-title {
    color: #f7fafc;
}

.dark-mode .cookie-category-toggle {
    color: #a0aec0;
}

.dark-mode .cookie-category-toggle:hover {
    background-color: #2d3748;
    color: #e2e8f0;
}

.dark-mode .cookie-category-details {
    background-color: #2d3748;
    border-top-color: #4a5568;
}

.dark-mode .cookie-category-details p {
    color: #a0aec0;
}

.dark-mode .cookie-category-details small {
    color: #718096;
}

.dark-mode .cookie-consent-footer {
    background-color: #4a5568;
    border-top-color: #4a5568;
}

.dark-mode .cookie-policy-link {
    color: #4299e1;
}

.dark-mode .cookie-policy-link:hover {
    color: #63b3ed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-simple-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        width: auto;
    }
    
    .cookie-simple-content {
        padding: 16px;
    }
    
    .cookie-simple-text h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .cookie-simple-text p {
        font-size: 12px;
        margin-bottom: 14px;
    }
    
    .cookie-simple-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-simple-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    .cookie-consent-banner {
        max-height: 100vh;
    }
    
    .cookie-consent-header,
    .cookie-consent-body,
    .cookie-consent-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
    }
    
    .cookie-consent-actions .btn {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .cookie-settings-btn {
        bottom: 16px;
        right: 16px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .cookie-category-header {
        padding: 12px 16px;
    }
    
    .cookie-category-details {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-header h4 {
        font-size: 1.1rem;
    }
    
    .cookie-consent-description {
        font-size: 13px;
    }
    
    .cookie-category-title {
        font-size: 13px;
    }
}
