/* 
 * Cookie Consent Banner Styles
 * For Imagnity Ghost CMS theme
 */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2d3748;
    color: #fff;
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.cookie-consent-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
}

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

.cookie-consent-content p {
    margin: 0;
    padding-right: 1rem;
}

.cookie-consent-content a {
    color: #90cdf4;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
}

.cookie-consent-button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.cookie-consent-button.accept {
    background-color: #4299e1;
    color: white;
}

.cookie-consent-button.accept:hover {
    background-color: #3182ce;
}

.cookie-consent-button.decline {
    background-color: transparent;
    border: 1px solid #cbd5e0;
    color: #cbd5e0;
}

.cookie-consent-button.decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-consent-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 0.5rem;
    }
}
