/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #404044;
    color: #d9d9d9;
    padding: 20px 30px;
    box-shadow: 2px 2px 2px rgba(42,52,81,0.70);
    z-index: 10000;
    font-family: 'Lato', sans-serif;
    animation: slideUp 0.4s ease-out;
    border-top: 2px solid rgba(255,255,255,0.1);
}

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

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

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    padding-left: 0px;
    color: #fff;
    letter-spacing: 0.3px;
}

.cookie-consent-text p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.6;
    padding-left: 0px;
    color: #d9d9d9;
}

.cookie-consent-text p:first-of-type {
    margin-top: 0;
}

.cookie-consent-text a {
    color: #fff;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.cookie-consent-text a:hover {
    color: #d9d9d9;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 2px 2px 2px rgba(42,52,81,0.70);
    white-space: nowrap;
}

.cookie-btn:hover {
    opacity: 0.9;
}

.cookie-btn:active {
    opacity: 0.8;
}

.cookie-btn-primary {
    background: #fff;
    color: #333;
    border: 1px solid #333;
}

.cookie-btn-primary:hover {
    background: #e8e8e8;
    color: #000;
    border-color: #000;
    box-shadow: 2px 2px 4px rgba(42,52,81,0.80);
}

.cookie-btn-secondary {
    background: #404044;
    color: #d9d9d9;
    border: 1px solid #666;
}

.cookie-btn-secondary:hover {
    background: #555559;
    color: #fff;
    border-color: #777;
    box-shadow: 2px 2px 4px rgba(42,52,81,0.80);
}

.cookie-btn-link {
    background: transparent;
    color: #d9d9d9;
    text-decoration: none;
    border: 1px solid #666;
    padding: 10px 20px;
    box-shadow: none;
}

.cookie-btn-link:hover {
    background: rgba(255,255,255,0.15);
    border-color: #888;
    color: #fff;
    box-shadow: 2px 2px 4px rgba(42,52,81,0.80);
}

/* Cookie Settings Panel */
.cookie-settings-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
    box-sizing: border-box;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-settings-content {
    background: #404044;
    border-radius: 8px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 2px 2px 2px rgba(42,52,81,0.70), 0 8px 32px rgba(0,0,0,0.6);
    animation: slideUpModal 0.4s ease-out;
    border: 2px solid rgba(255,255,255,0.1);
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

@keyframes slideUpModal {
    from {
        transform: translateY(20px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.cookie-settings-header {
    padding: 20px 30px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #404044;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
}

.cookie-settings-header h3 {
    margin: 0;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.3px;
    font-family: 'Lato', sans-serif;
}

.cookie-settings-close {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 28px;
    color: #d9d9d9;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-family: Arial, sans-serif;
    font-weight: 300;
    line-height: 36px;
    text-align: center;
    vertical-align: middle;
}

.cookie-settings-close::before {
    content: '';
    display: none;
}

.cookie-settings-close:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.cookie-settings-body {
    padding: 30px;
    background: #404044;
    flex: 1;
    overflow-y: auto;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 20px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    background: rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.cookie-category:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.3);
    box-shadow: 2px 2px 2px rgba(42,52,81,0.70);
}

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

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
}

.cookie-category-info p {
    margin: 0;
    font-size: 14px;
    color: #d9d9d9;
    line-height: 1.6;
    padding-left: 0px;
    font-family: 'Lato', sans-serif;
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
    flex-shrink: 0;
}

.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: #ccc;
    transition: all 0.4s ease;
    border-radius: 30px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: all 0.4s ease;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.cookie-switch input:checked + .cookie-slider {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.cookie-switch input:focus + .cookie-slider {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 0 0 3px rgba(52, 152, 219, 0.3);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(26px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

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

.cookie-switch input:disabled + .cookie-slider:before {
    background-color: #f5f5f5;
}

.cookie-settings-footer {
    padding: 20px 30px;
    border-top: 2px solid rgba(255,255,255,0.1);
    text-align: right;
    background: #404044;
    border-radius: 0 0 8px 8px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 20px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .cookie-consent-text {
        min-width: 100%;
    }
    
    .cookie-consent-text h3 {
        font-size: 18px;
    }
    
    .cookie-consent-text p {
        font-size: 14px;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-settings-panel {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .cookie-settings-content {
        margin: 0;
        max-width: 100%;
        max-height: calc(100vh - 40px);
        border-radius: 8px;
    }
    
    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding: 15px 20px;
    }
    
    .cookie-settings-header h3 {
        font-size: 18px;
    }
    
    .cookie-category {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .cookie-category-info h4 {
        font-size: 15px;
    }
    
    .cookie-category-info p {
        font-size: 13px;
    }
}

