/* Cookie Consent Styles */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 12px var(--shadow-lg);
    z-index: 9999;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-icon {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
}

.cookie-consent-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cookie-consent-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.cookie-policy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-policy-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cookie-settings {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-cookie-settings:hover {
    background: var(--background);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-cookie-accept {
    background: var(--primary-color);
    color: #181a20;
}

.btn-cookie-accept:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(240, 185, 11, 0.3);
}

/* Cookie Settings Modal */
.cookie-modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.cookie-modal-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

.cookie-modal-header .modal-title {
    color: var(--header-text);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.cookie-modal-header .btn-close {
    filter: invert(1);
}

.cookie-modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.cookie-settings-intro {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-category {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px var(--shadow);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cookie-category-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.cookie-category .form-check {
    margin: 0;
    flex-shrink: 0;
}

.cookie-category .form-check-input {
    width: 2.5rem;
    height: 1.25rem;
    cursor: pointer;
}

.cookie-category .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.cookie-category .form-check-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    background: var(--background);
}

.cookie-modal-footer .btn {
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cookie-consent-icon {
        margin: 0 auto;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cookie {
        width: 100%;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-category .form-check {
        align-self: flex-end;
    }
}

@media (max-width: 576px) {
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-consent-title {
        font-size: 1rem;
    }
    
    .cookie-consent-description {
        font-size: 0.85rem;
    }
    
    .cookie-modal-body {
        padding: 1rem;
    }
    
    .cookie-category {
        padding: 1rem;
    }
}

