/* /Pages/BuyerPages/BuyerLayout.razor.rz.scp.css */
/* --- CSS Chuyên biệt cho Buyer (Tông màu Xanh Dương) --- */
.buyer-layout[b-0heftwxl9h] {
    display: flex;
    min-height: 100vh;
}

.buyer-sidebar[b-0heftwxl9h] {
    width: 260px;
    background-color: #0F3B5F; /* Màu xanh dương đậm doanh nghiệp */
    color: white;
    display: flex;
    flex-direction: column;
}

.sidebar-brand[b-0heftwxl9h] {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-menu[b-0heftwxl9h] {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.nav-link[b-0heftwxl9h] {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.8);
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

    .nav-link:hover[b-0heftwxl9h], .nav-link.active[b-0heftwxl9h] {
        background-color: rgba(255,255,255,0.1);
        color: white;
        border-left: 4px solid var(--vybe-gold);
    }

    .nav-link .icon[b-0heftwxl9h] {
        margin-right: 10px;
        font-size: 1.2rem;
    }

.buyer-main[b-0heftwxl9h] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.buyer-topbar[b-0heftwxl9h] {
    background-color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.buyer-content[b-0heftwxl9h] {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
    background-color: #f8f9fa;
}

/* ÉP MOBILE RESPONSIVE (Dùng Off-canvas) */
@media (max-width: 768px) {
    .buyer-sidebar[b-0heftwxl9h] {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    }

        .buyer-sidebar.open[b-0heftwxl9h] {
            transform: translateX(0);
        }

    .buyer-topbar[b-0heftwxl9h] {
        padding: 10px 15px;
    }

    .buyer-content[b-0heftwxl9h] {
        padding: 15px;
    }

    .sidebar-backdrop[b-0heftwxl9h] {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
    }
}
/* /Pages/Index.razor.rz.scp.css */
/* --- Chỉ giữ lại các định dạng đặc thù của Landing Page --- */
.vybe-home-container[b-o5is6oupkq] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* HEADER CỦA LANDING PAGE */
.vybe-landing-header[b-o5is6oupkq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vybe-landing-brand[b-o5is6oupkq] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vybe-landing-logo[b-o5is6oupkq] {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.vybe-landing-title[b-o5is6oupkq] {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--vybe-primary-dark); /* Kế thừa biến từ site.css */
    margin: 0;
}

/* HERO SECTION MANG TÍNH NÔNG NGHIỆP */
.hero-section[b-o5is6oupkq] {
    background: linear-gradient(rgba(27, 94, 32, 0.8), rgba(27, 94, 32, 0.8)), url('/images/farm-bg.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero-content h1[b-o5is6oupkq] {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.search-box[b-o5is6oupkq] {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

    .search-box input[b-o5is6oupkq] {
        flex: 1;
        padding: 12px 20px;
        font-size: 1rem;
        border: none;
        border-radius: 4px 0 0 4px;
        outline: none;
    }

.btn-search[b-o5is6oupkq] {
    background-color: var(--vybe-gold);
    color: white;
    border-radius: 0 4px 4px 0;
    padding: 12px 20px;
    border: none;
}

/* FOOTER ĐỘC LẬP */
.vybe-footer[b-o5is6oupkq] {
    background: #111;
    color: white;
    padding: 40px 5% 20px;
    text-align: center;
    margin-top: auto; /* Đẩy footer xuống đáy */
}

/* RESPONSIVE CHO MOBILE */
@media (max-width: 768px) {
    .vybe-landing-header[b-o5is6oupkq] {
        padding: 10px 15px;
    }

    .vybe-landing-logo[b-o5is6oupkq] {
        width: 32px;
        height: 32px;
    }

    .vybe-landing-title[b-o5is6oupkq] {
        font-size: 1.1rem;
    }

    .search-box[b-o5is6oupkq] {
        flex-direction: row;
        width: 100%;
    }

        .search-box input[b-o5is6oupkq] {
            width: 75%;
        }

    .btn-search[b-o5is6oupkq] {
        width: 25%;
        padding: 10px;
    }

    .hero-section[b-o5is6oupkq] {
        padding: 60px 15px;
    }
}
    
/* /Pages/PortalLogin.razor.rz.scp.css */
.vybe-register-container[b-rnj3o6qmq3] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f4f6f4 0%, #e8f5e9 100%);
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.register-card[b-rnj3o6qmq3] {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
}

.register-logo[b-rnj3o6qmq3] {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 15px;
}

h2[b-rnj3o6qmq3] {
    color: #1B5E20; /* Agri-green-dark */
    font-weight: 700;
    margin-bottom: 5px;
}

.subtitle[b-rnj3o6qmq3] {
    color: #666;
    font-size: 0.95rem;
}

.form-group label[b-rnj3o6qmq3] {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.form-control[b-rnj3o6qmq3], .form-select[b-rnj3o6qmq3] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

    .form-control:focus[b-rnj3o6qmq3], .form-select:focus[b-rnj3o6qmq3] {
        border-color: #2E7D32;
        outline: none;
        box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    }

.btn-primary[b-rnj3o6qmq3] {
    background-color: #2E7D32;
    color: white;
    border: none;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .btn-primary:hover[b-rnj3o6qmq3] {
        background-color: #1B5E20;
    }

.login-link[b-rnj3o6qmq3] {
    color: #2E7D32;
    font-weight: 600;
    text-decoration: none;
}

    .login-link:hover[b-rnj3o6qmq3] {
        text-decoration: underline;
    }

.alert[b-rnj3o6qmq3] {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-danger[b-rnj3o6qmq3] {
    background-color: #fde8e8;
    color: #c81e1e;
    border: 1px solid #f9caca;
}

.alert-success[b-rnj3o6qmq3] {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
/* /Pages/Register.razor.rz.scp.css */
/* --- Form Đăng nhập / Đăng ký --- */
.vybe-register-container[b-c8nf622gms] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f4f6f4 0%, #e8f5e9 100%);
    padding: 20px;
}

.register-card[b-c8nf622gms] {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
}

.register-logo[b-c8nf622gms] {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 15px;
}
/* /Pages/SellerPages/SellerLayout.razor.rz.scp.css */
/* --- Layout cho Back-office của Seller/Buyer --- */
.seller-layout[b-8jvukywvsy] {
    display: flex;
    min-height: 100vh;
}

.seller-sidebar[b-8jvukywvsy] {
    width: 260px;
    background-color: var(--vybe-primary-dark); /* Dùng màu chung */
    color: white;
    display: flex;
    flex-direction: column;
}

.sidebar-brand[b-8jvukywvsy] {
    padding: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-menu[b-8jvukywvsy] {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.nav-link[b-8jvukywvsy] {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.8);
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

    .nav-link:hover[b-8jvukywvsy], .nav-link.active[b-8jvukywvsy] {
        background-color: rgba(255,255,255,0.1);
        color: white;
        border-left: 4px solid var(--vybe-gold);
    }

    .nav-link .icon[b-8jvukywvsy] {
        margin-right: 10px;
        font-size: 1.2rem;
    }

.seller-main[b-8jvukywvsy] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.seller-topbar[b-8jvukywvsy] {
    background-color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.seller-content[b-8jvukywvsy] {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
}

/* --- BỔ SUNG RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .seller-sidebar[b-8jvukywvsy] {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 1050;
        transform: translateX(-100%); /* Ẩn sang trái mặc định */
        transition: transform 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    }

        /* Khi có class open, trượt ra */
        .seller-sidebar.open[b-8jvukywvsy] {
            transform: translateX(0);
        }

    .seller-topbar[b-8jvukywvsy] {
        padding: 10px 15px; /* Giảm padding trên mobile */
    }

    .sidebar-backdrop[b-8jvukywvsy] {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 1040; /* Nằm dưới menu nhưng trên nội dung */
    }
}
