﻿.image-search-box {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    border-radius: 22px;
    padding: 20px 20px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.background {
    background-color: #640b0f!important;
}
/* Badge Tìm ảnh nằm cạnh trên, căn giữa */
.image-search-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f47e12;
    color: white;
    font-weight: 800;
    font-size: 15px;
    padding: 7px 22px;
    border-radius: 999px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 5px 14px rgba(227, 6, 19, 0.28);
}

.image-search-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.image-action-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 16px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .image-action-card:hover {
        background: rgba(227, 6, 19, 0.06);
        transform: translateY(-2px);
    }

.image-action-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid rgba(227, 6, 19, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

    .image-action-icon span {
        color: #e30613;
    }

.image-action-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.image-action-title {
    font-size: 18px;
    font-weight: 800;
    color: black;
    line-height: 1.2;
}

.image-action-desc {
    font-size: 14px;
    color: black;
    opacity: 0.82;
    line-height: 1.2;
}

/* Nếu còn CSS cũ của area-2 đè màu thì override lại */
.image-search-box,
.area-2.boxed-text.image-search-box {
    background: rgba(254, 238, 199,1) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.65) !important;
    border-radius: 22px !important;
}
    .area-2.boxed-text.image-search-box .mdi {
        color: #f47e12 !important;
    }
.logo{
    display:flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 10px;

}
.logo1 {
    width: 200px;
    object-fit: contain;
}
.logo2{
    width: 250px;
    object-fit: contain;
    margin-bottom: 10px;
}
.logo3 {
    width: 400px;
    object-fit: contain;
    margin-top:30px;
}
.anh1 {
    width: 200px;
    object-fit: contain;
}
.anh2 {
    width: 200px;
    object-fit: contain;
}
.footage {
    background: white;
    border-radius: 15px;
    padding: 5px 20px;
    max-width: fit-content;
}
.footer1 {
    display: flex;
    justify-content: center !important;
    text-align: center !important;
}

/* Mobile */
@media (max-width: 576px) {
    .logo{
        justify-content: space-between;
    }
    .image-search-box {
        padding: 14px 14px 16px;
        border-radius: 20px;
    }

    .image-search-actions {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .image-action-card {
        gap: 8px;
        padding: 8px;
    }

    .image-action-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .image-action-title {
        font-size: 14px;
    }

    .image-action-desc {
        font-size: 11px;
    }

    .image-search-label {
        font-size: 14px;
        padding: 6px 18px;
    }
    .logo1{
        width: 150px;
    }
    .logo2 {
        width: 150px;
    }
    .anh1 {
        width: 80px;
    }

    .anh2 {
        width: 80px;
    }
    .background {
        background: url("/image/bg_mobile.png") !important;
        background-size: contain !important;
    }
    .logo3{
        width: 180px;
    }
    .area-1{
        text-align: center;
        margin-bottom: 30px;
    }
}
@media (max-width: 415px) {
    .logo1 {
        width: 150px;
    }

    .logo2 {
        width: 150px;
    }

    .anh1 {
        width: 80px;
    }

    .anh2 {
        width: 80px;
    }

    .logo3 {
        width: 150px;
    }
}.download-images.download-fixed {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 9999;
    background: #fff;
    padding: 10px 16px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    display: flex !important;
    align-items: center;
}

.download-process-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    min-width: 280px;
    max-width: 360px;
    display: none;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(233, 90, 30, 0.2);
    animation: downloadToastSlideIn 0.25s ease;
}

    .download-process-toast.show {
        display: flex;
    }

.download-toast-spinner {
    width: 34px;
    height: 34px;
    border: 4px solid #ffe1d3;
    border-top-color: #e95a1e;
    border-radius: 50%;
    flex-shrink: 0;
    animation: downloadToastSpin 0.8s linear infinite;
}

.download-toast-title {
    font-size: 15px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 4px;
}

.download-toast-desc {
    font-size: 13px;
    color: #777777;
    line-height: 1.4;
}

@keyframes downloadToastSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes downloadToastSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 576px) {
    .download-process-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
        min-width: auto;
    }
}