/**
 * Cookie Consent styles.
 *
 * @since      1.0.0
 * @package    AA_Toolkit
 * @subpackage AA_Toolkit/public/css
 */

/* Cookie consent banner */
.aa-cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    background-color: #182E6F;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    max-width: calc(100% - 40px);
}

/* Container for all content */
.aa-cookie-consent-container {
    padding: 20px;
}

/* Header section */
.aa-cookie-consent-header {
    margin-bottom: 15px;
}

.aa-cookie-consent-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* Body section */
.aa-cookie-consent-body {
    margin-bottom: 20px;
}

/* Category section */
.aa-cookie-category {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.aa-cookie-category:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.aa-cookie-category-header {
    margin-bottom: 5px;
    font-weight: 600;
}

.aa-cookie-category-description {
    font-size: 12px;
    color: #666;
}

.aa-cookie-category-description p {
    margin: 0;
}

/* Footer section */
.aa-cookie-consent-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Privacy policy link */
.aa-cookie-consent-privacy-link {
    color: #0073aa;
    text-decoration: underline;
    font-size: 12px;
    margin-bottom: 10px;
}

/* Buttons container */
.aa-cookie-consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: auto;
}

/* Button styles */
.aa-cookie-consent-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease;
}

.aa-accept-btn {
    background-color: #0073aa;
    color: #ffffff;
}

.aa-accept-btn:hover {
    background-color: #005f8b;
}

.aa-necessary-btn, .aa-customize-btn, .aa-save-btn {
    background-color: #f0f0f0;
    color: #333333;
}

.aa-necessary-btn:hover, .aa-customize-btn:hover, .aa-save-btn:hover {
    background-color: #e0e0e0;
}

/* Responsive adjustments */
@media screen and (max-width: 480px) {
    .aa-cookie-consent {
        bottom: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }
    
    .aa-cookie-consent-container {
        padding: 15px;
    }
    
    .aa-cookie-consent-buttons {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }
    
    .aa-cookie-consent-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}