/* Cookie Consent Banner Styles */
#ego-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #f8f9fa;
    color: #273039;
    padding: 15px 25px;
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-radius: 50px;
    max-width: 800px;
    width: 90%;
    border: 1px solid #e9ecef;
}

#ego-cookie-banner .container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

#ego-cookie-banner h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 500;
    color: #273039;
}

#ego-cookie-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
    flex: 1;
}

#ego-cookie-banner .button-group {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0;
    flex-shrink: 0;
}

#ego-cookie-banner button {
    padding: 6px 12px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 70px;
    white-space: nowrap;
}

#ego-cookie-banner #accept-all {
    background: #273039;
    color: white;
}

#ego-cookie-banner #accept-all:hover {
    background: #1a2329;
    transform: translateY(-1px);
}

#ego-cookie-banner #accept-essential {
    background: #6c757d;
    color: white;
}

#ego-cookie-banner #accept-essential:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

#ego-cookie-banner #customize {
    background: transparent;
    color: #273039;
    border: 1px solid #273039;
}

#ego-cookie-banner #customize:hover {
    background: #273039;
    color: white;
    transform: translateY(-1px);
}

#ego-cookie-banner #save-preferences {
    background: #273039;
    color: white;
    padding: 8px 16px;
    font-size: 13px;
}

#ego-cookie-banner #save-preferences:hover {
    background: #1a2329;
    transform: translateY(-1px);
}

#ego-cookie-banner #customize-options {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

#ego-cookie-banner .checkbox-group {
    margin-bottom: 15px;
}

#ego-cookie-banner label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    text-align: left;
}

#ego-cookie-banner input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #273039;
}

/* Responsive Design */
@media (max-width: 768px) {
    #ego-cookie-banner {
        padding: 15px 20px;
        width: 95%;
        max-width: 500px;
    }
    
    #ego-cookie-banner .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    #ego-cookie-banner p {
        font-size: 14px;
        margin-bottom: 0;
    }
    
    #ego-cookie-banner .button-group {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }
    
    #ego-cookie-banner button {
        min-width: 70px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    #ego-cookie-banner label {
        font-size: 14px;
    }
}

/* Animation for banner appearance */
#ego-cookie-banner {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Fade out animation */
#ego-cookie-banner.fade-out {
    animation: slideDown 0.3s ease-in forwards;
}

@keyframes slideDown {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}
