@use "../../../public/css/bzhy_frontend.scss" as frontend;

.bzhy_gdpr_banner{
    $padding: 5px 10px 10px 10px;
    $shadow: 0 -2px 10px rgba(0,0,0,0.1);
    @include frontend.most_top_banner_area($padding,$shadow);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bzhy_gdpr_position_bottom {
    bottom: 0;
    left: 0;
    right: 0;
    width: 90%;
}

.bzhy_gdpr_position_bottom_left {
    bottom: 20px;
    left: 20px;
    max-width: 800px;
    border-radius: 8px;
}

.bzhy_gdpr_position_bottom_right {
    bottom: 20px;
    right: 20px;
    max-width: 80%;
    border-radius: 8px;
}

.bzhy_gdpr_position_top {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.bzhy_gdpr_banner_content {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.bzhy_gdpr_banner_text {
    margin: 0 20px 0 0;
    flex: 1;
    min-width: 300px;
    font-size: 14px;
    line-height: 1.5;
}

.bzhy_gdpr_banner_text a {
    color: inherit;
    text-decoration: underline;
    margin-left: 5px;
}

.bzhy_gdpr_banner_text a:hover {
    opacity: 0.8;
    font-weight: 700;
    font-size: 1.2em;
}

.bzhy_gdpr_banner_buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.bzhy_gdpr_banner_btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 120px;
}

.bzhy_gdpr_banner_btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.bzhy_gdpr_banner_btn:active {
    transform: translateY(0);
}

.bzhy_gdpr_banner_modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bzhy_gdpr_banner_content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    color: #333;
}

.bzhy_gdpr_banner_content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
}

.bzhy_gdpr_banner_types {
    margin: 20px 0;
}

.bzhy_gdpr_banner_type {
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.bzhy_gdpr_banner_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.bzhy_gdpr_banner_header h4 {
    margin: 0;
    color: #2c3e50;
}

.bzhy_gdpr_banner_desc {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.bzhy_gdpr_banner_modal_buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.bzhy_gdpr_banner_modal_buttons .bzhy_gdpr_banner_btn {
    min-width: auto;
    padding: 10px 20px;
}

.bzhy_gdpr_banner_close_line {
    display: flex;
    flex-direction: row;
    align-content: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
}

.bzhy_gdpr_banner_close_flag {
    @include frontend.bzhy_inline_text_icon("",20px,20px,true,20px,20px,"");
}

.bzhy_gdpr_banner_close_flag::before {
    @include frontend.bzhy_inline_text_icon_before(inherit);
    content:'X';
} 

.bzhy_gdpr_banner_close_flag:hover {
    cursor: pointer;
    text-decoration: underline;
}




