/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 37, 47, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(78, 205, 196, 0.2);
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text h4 {
    color: #E5E5E5;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.cookie-text p {
    color: #BDC3C7;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background-color: #4ECDC4;
    color: #2C3E50;
}

.cookie-btn-primary:hover {
    background-color: #45B7B8;
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background-color: transparent;
    color: #4ECDC4;
    border: 1px solid #4ECDC4;
}

.cookie-btn-secondary:hover {
    background-color: rgba(78, 205, 196, 0.1);
}

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

.cookie-btn-reject:hover {
    background-color: rgba(255, 107, 107, 0.1);
}

.cookie-policy-link {
    margin-top: 10px;
    text-align: center;
}

.cookie-policy-link a {
    color: #4ECDC4;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.cookie-policy-link a:hover {
    color: #45B7B8;
    text-decoration: underline;
}

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1001;
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background-color: #34495E;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 0;
    border-bottom: 1px solid rgba(78, 205, 196, 0.1);
    margin-bottom: 25px;
}

.cookie-modal-header h3 {
    color: #E5E5E5;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

.cookie-close {
    background: none;
    border: none;
    color: #95A5A6;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-close:hover {
    color: #4ECDC4;
    background-color: rgba(78, 205, 196, 0.1);
}

.cookie-modal-body {
    padding: 0 30px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(78, 205, 196, 0.1);
}

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

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

.cookie-category h4 {
    color: #E5E5E5;
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.cookie-category p {
    color: #BDC3C7;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Cookie Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

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

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

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

input:checked + .cookie-slider {
    background-color: #4ECDC4;
}

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

input:disabled + .cookie-slider {
    background-color: #4ECDC4;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 25px 30px 30px;
    text-align: center;
}

.cookie-modal-footer .cookie-btn {
    width: 100%;
    padding: 12px 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        min-width: 140px;
    }
    
    .cookie-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-btn {
        width: 100%;
        min-width: auto;
    }
    
    .cookie-text h4 {
        font-size: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.85rem;
    }
}