﻿/*.background {
    min-width: 100vw;
    min-height: 100vh;
    margin: 0;
    background: url('/images/123.jpg') no-repeat center center fixed;
    padding: 150px 0;
    background-size: cover;
    z-index: 1;
}*/
.background {
    min-width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 150px 0;
/*     background: linear-gradient(135deg, #fdfbfb, #ebedee);  */
    /* Hoặc bạn có thể dùng nhiều màu pastel hơn */
    /* background: linear-gradient(120deg, #f6d365 0%, #fda085 100%); */
background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%); 

    z-index: 1;
}
/* bổ xung sgs để phân biệt các class với các css khác tránh bị trùng tên(sgs = Search Gtin SoLoMe))*/
    .sgs-container
{
    margin-top: 150px;
    width: 50%;
    margin: auto;
    font-family: Arial, sans-serif;
    position: relative;
    z-index: 2;
}
    


.sgs-card {
    border-radius: 8px;
}

.sgs-card-header {
    font-weight: bold;
    font-size: 1.1rem;
}

.sgs-timeline {
    position: relative;
    margin-left: 20px;
    border-left: 2px solid #dee2e6; /* giống Bootstrap border-light */
    padding-left: 20px;
}

.sgs-timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.sgs-timeline-dot {
    position: absolute;
    left: -28px;
    top: 5px;
    width: 14px;
    margin-right: 10px;
    height: 14px;
    background-color: #fff;
    border: 2px solid #0d6efd; /* xanh Bootstrap primary */
    border-radius: 50%;
}

.sgs-timeline-time {
    font-size: 0.875rem;
    margin-left: 20px;
    color: #0d6efd; /* xanh primary */
    font-weight: 500;
    margin-bottom: 8px;
}

.sgs-timeline-content {
    background: #fff;
    width:98%;
    border-radius: 0.5rem;
    padding: 10px 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    font-size: 0.95rem;
    line-height: 1.6;
}


.sgs-btn {
    font-weight: 600;
    padding: 6px 20px;
}

.sgs-input {
    border-radius: 5px;
}

.sgs-product-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.sgs-images img {
    transition: transform 0.3s ease;
}

.sgs-images img {
    transition: transform 0.5s ease; /* thời lượng 0.5s + delay 0.5s */
}

    .sgs-images img:hover {
        transform: scale(4.05);
        transition-delay: 0.7s;
        z-index: 10000;
    }


.verified-icon i {
    font-size: 100px;
    color: #28a745; /* Màu xanh */
}

.smv-result {
   /* reset tất cả style kế thừa */
    display: block; /* phải set lại display sau khi unset */
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

    /* Ví dụ style cơ bản cho text và p */
    .smv-result p {
        margin: 0 0 1em;
    }
@media (max-width: 768px) {
    .sgs-card {
        width: 90% !important; /* chiếm 90% màn hình */
        margin: 0 auto 1rem; /* căn giữa + khoảng cách dưới */
    }

    .sgs-container {
        width: 100% !important; /* container full width để card nổi bật */
        padding: 0 5px; /* chừa padding nhỏ cho đẹp */
    }
}
/* ========== SẢN PHẨM TAB ========== */
.sanphamtab-container {
    margin: 30px auto;
    max-width: 900px;
    font-family: Arial, Helvetica, sans-serif;
}

/* Header nav */
.sanphamtab-nav {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    border-bottom: 2px solid #18b290;
    flex-wrap: wrap;
}

.sanphamtab-link {
    background: #f4f4f4;
    color: #18b290;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .sanphamtab-link:hover {
        background: #eaf8f4;
    }

    .sanphamtab-link.active {
        background: #18b290;
        color: #fff;
    }

/* Content area */
.sanphamtab-content {
    border: 1px solid #ddd;
    border-radius: 0 6px 6px 6px;
    padding: 20px;
    background: #fff;
}

.sanphamtab-pane {
    display: none;
    animation: sanphamtabFade 0.3s ease;
}

    .sanphamtab-pane.active {
        display: block;
    }

/* Hiệu ứng fade khi đổi tab */
@keyframes sanphamtabFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
