/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 50px; /* Positioned above the fixed footer */
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(26, 94, 32, 0.95) 0%, rgba(46, 125, 50, 0.95) 50%, rgba(56, 142, 60, 0.95) 100%); /* Match site's green color scheme with transparency */
    color: #ffffff;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.5s ease-out;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cookie-consent-content p {
    margin: 0;
    padding: 5px 0;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.cookie-consent-content a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px dotted #ffffff;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-consent-content a:hover {
    color: #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.cookie-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cookie-button.accept {
    background-color: #2e7d32; /* Match site's green color */
    color: white;
    font-weight: 700;
    padding: 10px 20px;
    font-size: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid #ffffff;
    transform: scale(1.05);
}

.cookie-button.accept:hover {
    background-color: #1a5e20;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.cookie-button.reject {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.cookie-button.reject:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive styles */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
    }

    .cookie-consent-buttons {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        justify-content: space-between;
    }

    .cookie-button {
        flex: 1;
        text-align: center;
    }

    /* Maintain accept button prominence on smaller screens */
    .cookie-button.accept {
        flex: 1.2; /* Give accept button more space */
    }

    .cookie-button.reject {
        flex: 0.8; /* Give reject button less space */
    }
}

/* For mobile devices */
@media (max-width: 480px) {
    .cookie-consent-banner {
        bottom: 40px;
    }

    .cookie-consent-content p {
        font-size: 13px;
    }

    .cookie-button.accept {
        padding: 8px 16px; /* Keep accept button larger */
        font-size: 14px;
    }

    .cookie-button.reject {
        padding: 6px 10px; /* Make reject button smaller */
        font-size: 12px;
    }
}
