/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 10000;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', 'Menlo', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', monospace;
    letter-spacing: -0.5px;
    line-height: 1.;
}

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

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

.cookie-consent-text h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.028);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cookie-btn-accept {
    background: #5c9775;
    color: white;
}

.cookie-btn-accept:hover {
    background: #1c4c30;
}

.cookie-btn-reject {
    background: #982b21;
    color: rgb(225, 205, 205);
}

.cookie-btn-reject:hover {
    background: #c0392b;
}

.cookie-btn-customize {
    background: #084167;
    color: white;
}

.cookie-btn-customize:hover {
    background: #165f8f;
}

.cookie-btn-policy {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

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

/* Cookie Preferences Modal */
.cookie-preferences-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-preferences-content {
    font-family: Arial;
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    color: #333;
}

.cookie-preferences-content h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ecf0f1;
    border-radius: 5px;
}

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

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle 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: .4s;
    border-radius: 24px;
}

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

input:checked + .cookie-slider {
    background-color: #27ae60;
}

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

.cookie-category p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.cookie-category .service-list {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

.cookie-preferences-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-preferences-content {
        width: 95%;
        padding: 20px;
    }
    
    .cookie-preferences-buttons {
        flex-direction: column;
    }
}

/* Hidden class */
.cookie-hidden {
    display: none !important;
}

/* Notification System */
.cookie-notification {
    position: fixed;
    font-family: 'JetBrains Mono', Courier, monospace;
    letter-spacing: -.4px;
    top: 20px;
    right: 20px;
    z-index: 10002;
    min-width: 300px;
    max-width: 400px;
    padding: 15px;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgb(0, 0, 0);
    animation: slideIn 0.3s ease-out;
}

.cookie-notification-success {
    background: #033618d6;
    color: white;
}

.cookie-notification-info {
    background: #094d7bea;
    color: white;
}

.cookie-notification-warning {
    background: #f39c12;
    color: white;
}

.cookie-notification-error {
    background: #6a261e;
    color: white;
}

.cookie-notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.cookie-notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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