/* Cookie Consent Banner Styles - NexaYou Design */

/* Banner Container */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 3px solid #00d4ff;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Text Content */
.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #00d4ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-consent-text h4 i {
    font-size: 20px;
}

.cookie-consent-text p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 15px 0;
    color: #e0e0e0;
}

.cookie-consent-text strong {
    color: #fff;
}

/* Links */
.cookie-consent-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.cookie-consent-links a {
    color: #00d4ff;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.cookie-consent-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Buttons */
.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #0099cc 0%, #007799 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.cookie-btn-settings {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.cookie-btn-settings:hover {
    background: #00d4ff;
    color: #fff;
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background: transparent;
    color: #888;
    border: 2px solid #444;
}

.cookie-btn-decline:hover {
    background: #444;
    color: #fff;
    transform: translateY(-2px);
}

/* Settings Overlay */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Settings Panel */
.cookie-settings-panel {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid #00d4ff;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-overlay.show .cookie-settings-panel {
    transform: scale(1);
}

/* Settings Header */
.cookie-settings-header {
    padding: 25px 25px 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-settings-header h3 {
    margin: 0;
    color: #00d4ff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-settings-close {
    background: transparent;
    border: none;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cookie-settings-close:hover {
    color: #fff;
    background: #333;
}

/* Settings Content */
.cookie-settings-content {
    padding: 25px;
}

.cookie-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

.cookie-setting-item:last-child {
    border-bottom: none;
}

.cookie-setting-info h5 {
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-setting-info p {
    margin: 0;
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
}

/* Toggle Switch */
.cookie-toggle {
    width: 50px;
    height: 26px;
    background: #444;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.cookie-toggle.active {
    background: #00d4ff;
}

.cookie-toggle-disabled {
    background: #333;
    cursor: not-allowed;
    opacity: 0.6;
}

.toggle-slider {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle.active .toggle-slider {
    transform: translateX(24px);
}

.cookie-toggle-disabled .toggle-slider {
    background: #666;
}

/* Settings Footer */
.cookie-settings-footer {
    padding: 20px 25px 25px;
    border-top: 1px solid #333;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-settings-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cookie-settings-links a {
    color: #00d4ff;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.cookie-settings-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-consent-links {
        justify-content: center;
    }
    
    .cookie-settings-panel {
        width: 95%;
        margin: 20px;
    }
    
    .cookie-setting-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-toggle {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .cookie-consent-content {
        padding: 15px;
    }
    
    .cookie-consent-text h4 {
        font-size: 16px;
    }
    
    .cookie-consent-text p {
        font-size: 13px;
    }
    
    .cookie-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
}
