/* Cookie Consent Popup */
#cookie-consent-popup {
    position: fixed;
    bottom: 0;
    width: 33%;
    background: rgba(50, 50, 50, 0.9);
    border: 1px solid #00660a;
    color: #ecf0f1;
    padding: 15px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    z-index: 9990;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    display: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cookie-popup-content {
    padding: 10px;
}

.cookie-popup-content p {
    margin: 0 0 10px 0;
    line-height: 1.5;
    font-size: 14px;
}

.cookie-popup-content a {
    color: #f39c12;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.cookie-popup-content a:hover {
    color: #e67e22;
}


/* Button Styles */
.cookie-btn {
    padding: 8px 16px;
    font-size: 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cookie-btn i {
    margin-right: 8px;
}

#accept-cookies {
    background: #27ae60;
    color: white;
    padding: 8px 14px;
    font-size: 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 10px 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#accept-cookies:hover {
    background: #2ecc71;
    transform: scale(1.05);
}

#accept-cookies i {
    margin-right: 8px;
}

#decline-cookies {
    background: #e74c3c;
    color: white;
    padding: 8px 14px;
    font-size: 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 10px 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#decline-cookies:hover {
    background: #c0392b;
    transform: scale(1.05);

}

#decline-cookies i {
    margin-right: 8px;
}


/* Cookie Policy Modal */
#cookie-info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9995;
    overflow-y: auto;
}

.cookie-modal-content {
    background: white;
    max-width: 800px;
    margin: 30px auto;
    padding: 25px;
    border-radius: 10px;
    position: relative;
}

/* Modal Header & Tabs */
.cookie-modal-header {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.tab-button {
    flex: 1;
    padding: 15px;
    font-size: 16px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: #27ae60;
    color: white;
}

.tab-content {
    display: none;
    padding: 15px 0;
}

.tab-content.active {
    display: block;
}

/* Cookie List */
#cookies-data {
    list-style: none;
    padding: 0;
    margin: 0;
}

#cookies-data li {
    padding: 10px;
    margin-bottom: 5px;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #eee;
    font-size: 14px;
}

/* Modal Footer Buttons */
.modal-footer {
    margin: 10px;
    text-align: center;
}

#accept-all-cookies {
    background-color: #27ae60;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

#accept-all-cookies:hover {
    background-color: #2ecc71;
    transform: scale(1.05);
}

#close-modal {
    margin-top: 15px;
    margin-left: 15px;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #e74c3c;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#close-modal:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}


/* Cookie Icon */
#cookie-icon {
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.08);
    color: #FCB900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9980;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 20px;
}


/* Responsive Styles */
@media screen and (max-width: 992px) {
    #cookie-consent-popup {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    #cookie-consent-popup {
        width: 80%;
        font-size: 14px;
        padding: 15px;
    }

    .cookie-modal-content {
        margin: 20px auto;
        padding: 20px;
    }

    .tab-button {
        padding: 10px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    #cookie-consent-popup {
        width: 95%;
        font-size: 13px;
        padding: 12px;
        border-radius: 0;
    }

    .cookie-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .cookie-modal-content {
        margin: 10px;
        padding: 15px;
    }

    .modal-footer {
        display: flex;
        flex-direction: column;
    }

    #close-modal {
        margin-left: 0;
        margin-top: 10px;
    }
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

/* WordPress Lightbox Fix */
.wp-lightbox-overlay {
    z-index: 10000 !important;
}

html.wp-lightbox-open {
    overflow: hidden !important;
}
