* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #ffffff; /* Nền trắng tinh khôi */
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 15px;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }

/* ==================================================
   PROMO BANNER
================================================== */
.promo-banner {
    background: linear-gradient(90deg, #cc0029, #ff0f39); /* Gradient Đỏ */
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}
.promo-banner a { text-decoration: underline; }
.promo-banner a:hover { color: #ffe6eb; }

/* ==================================================
   HEADER TOP (STICKY & FLEXBOX CĂN CHỈNH)
================================================== */
#header-top {
    position: sticky;
    top: -1px;
    z-index: 9990;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Gradient Đỏ Tươi làm Theme chính */
.bg-theme { 
    background: linear-gradient(135deg, #ff0f39 0%, #ff4b2b 100%); 
    color: #fff; 
}

.header-top-inner {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 15px 0; 
    gap: 30px; 
}

.logo-link { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo-image {
    width: 45px; height: 45px; background: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.logo-image img { width: 100%; height: 100%; object-fit: cover; }
.logo h2 { margin: 0; font-size: 24px; font-weight: bold; transition: transform 0.3s ease; }
.logo-link:hover h2 { transform: scale(1.05); }

/* Thanh tìm kiếm */
.search-bar {
    display: flex; flex: 1; max-width: 550px; margin: 0 auto; 
    background: #fff; border-radius: 4px; overflow: hidden;
}
.search-bar input { flex: 1; padding: 10px 15px; border: none; outline: none; }
.search-bar button {
    padding: 0 20px; background: transparent; border: none;
    color: #ff0f39; cursor: pointer; font-size: 16px; transition: background 0.3s;
}
.search-bar button:hover { background: #ffe6eb; } /* Hover Đỏ nhạt */

/* Khu vực nút tiện ích */
.header-utilities { 
    display: flex; align-items: center; justify-content: flex-end; gap: 25px; 
}
.util-item-top {
    display: flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; cursor: pointer;
    transition: opacity 0.3s;
}
.util-item-top:hover { opacity: 0.8; }
.util-item-top i { font-size: 24px; opacity: 0.9; }
.util-text { display: flex; flex-direction: column; line-height: 1.2; }

/* Giỏ hàng */
.cart-btn { border: 1px solid rgba(255,255,255,0.5); padding: 8px 15px; border-radius: 20px; position: relative; }
.cart-count {
    background: #222; color: white; font-size: 11px; font-weight: bold;
    width: 18px; height: 18px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; position: absolute; top: -5px; left: 15px;
}

/* ==================================================
   HEADER DROPDOWN
================================================== */
.has-dropdown { position: relative; }
.has-dropdown::after { content: ""; position: absolute; bottom: -20px; left: 0; width: 100%; height: 20px; background: transparent; }

.dropdown-box {
    position: absolute; top: calc(100% + 15px); left: 50%; transform: translateX(-50%) translateY(10px);
    background: #fff; border-radius: 4px; box-shadow: 0 5px 20px rgba(0,0,0,0.15); min-width: 180px;
    display: flex; flex-direction: column; opacity: 0; visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); z-index: 100;
    border-top: 3px solid #ff0f39; /* Viền đỏ */
}
.dropdown-box::before {
    content: ''; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
    border-left: 8px solid transparent; border-right: 8px solid transparent;
    border-bottom: 8px solid #ff0f39; /* Mũi tên đỏ */
}
.dropdown-box a {
    color: #333 !important; padding: 12px 15px; font-size: 14px;
    border-bottom: 1px solid #f5f5f5; transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.dropdown-box a:hover {
    background: #ffe6eb; color: #ff0f39 !important; padding-left: 20px;
}
.dropdown-box a:last-child { border-bottom: none; }
.has-dropdown:hover .dropdown-box { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(5px); }

/* ==================================================
   HEADER BOTTOM
================================================== */
#header-bottom { background-color: #fff; border-bottom: 1px solid #ddd; }
.header-bottom-inner { display: flex; align-items: center; padding: 15px 0; justify-content: flex-end; }
.main-nav-links { display: flex; gap: 25px; }
.main-nav-links a {
    font-size: 14px; font-weight: 500; color: #444; display: flex; align-items: center; gap: 8px; transition: color 0.3s;
}
.main-nav-links a:hover { color: #ff0f39; } /* Hover Đỏ */

/* ==================================================
   MEGA MENU BÊN TRÁI & BANNER
================================================== */
.top-banner-layout { display: flex; align-items: flex-start; background: #fff; padding-top: 20px; gap: 20px; }

.sidebar-menu { 
    width: 260px; flex-shrink: 0; position: relative; z-index: 50; 
    border-radius: 8px; border: 1px solid #eee;
    /* ĐÃ XÓA: overflow: hidden; (để menu con không bị cắt xén) */
}
.category-header.bg-theme {
    font-weight: bold; font-size: 15px; padding: 15px; display: flex; align-items: center; gap: 10px;
    border-radius: 7px 7px 0 0; /* Ép bo góc trên */
}
.menu-list { 
    list-style: none; margin: 0; padding: 0; background: #fff; 
    border-radius: 0 0 7px 7px; /* Ép bo góc dưới */
}
.menu-item { position: static; }
.menu-item > a {
    display: flex; align-items: center; padding: 12px 15px; font-size: 14px; color: #333; font-weight: 500;
    border-bottom: 1px solid #f9f9f9; transition: all 0.2s;
}
.menu-item > a i:first-child { width: 25px; text-align: center; color: #666; margin-right: 10px; transition: 0.2s; }
.menu-item > a .arrow { margin-left: auto; font-size: 10px; color: #aaa; transition: transform 0.2s;}

.menu-item:hover > a { background-color: #ffe6eb; color: #ff0f39; }
.menu-item:hover > a i { color: #ff0f39; }

/* BẢNG MEGA MENU TRƯỢT RA */
.sub-menu {
    display: none; position: absolute; top: 0; left: 260px; width: 800px; min-height: 100%; 
    background: #fff; border: 1px solid #eee; border-left: 2px solid #ff0f39; /* Viền đỏ */
    box-shadow: 5px 5px 20px rgba(0,0,0,0.1); z-index: 100; padding: 25px;
}
.menu-item:hover .sub-menu { display: flex; gap: 30px; }
.sub-menu-col { flex: 1; } 
.sub-menu-col h4 {
    font-size: 14px; text-transform: uppercase; color: #111; margin-top: 0; margin-bottom: 15px;
    border-bottom: 2px solid #f4f4f4; padding-bottom: 8px;
}
.sub-menu-col ul { list-style: none; padding: 0; margin: 0; }
.sub-menu-col ul li { margin-bottom: 10px; }
.sub-menu-col ul li a { font-size: 13px; color: #555; text-decoration: none; transition: color 0.2s; display: block; }
.sub-menu-col ul li a:hover { color: #ff0f39; font-weight: bold; padding-left: 5px;}

/* BANNER SLIDER */
.hero-slider-container { 
    flex: 1; min-width: 0; position: relative; z-index: 10; 
    aspect-ratio: 21 / 9; max-height: 420px; border-radius: 8px; overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.slideshow-container { width: 100%; height: 100%; position: relative; margin: auto; overflow: hidden; }
.mySlides { height: 100%; width: 100%; display: none;}
.mySlides img { width: 100%; height: 100%; object-fit: cover; }
.prev, .next {
    cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); width: auto; padding: 16px; 
    color: white; font-weight: bold; font-size: 24px; transition: 0.3s ease; background-color: rgba(0,0,0,0.4);
    border-radius: 4px;
}
.next { right: 0; border-radius: 4px 0 0 4px; }
.prev { left: 0; border-radius: 0 4px 4px 0; }
.prev:hover, .next:hover { background-color: #ff0f39; } /* Hover Đỏ */

/* ==================================================
   QUICK CATEGORIES
================================================== */
.quick-category-bar {
    background: #fff; margin-top: 20px; margin-bottom: 20px; padding: 20px; 
    border-radius: 8px; box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
.quick-categories { 
    display: flex; justify-content: center; gap: 20px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none;
}
.quick-categories::-webkit-scrollbar { display: none; }
.q-cat-item { width: 120px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s ease; }
.q-cat-item:hover { transform: translateY(-5px); }
.q-cat-img {
    width: 100%; height: 75px; border: 1px solid #ddd; border-radius: 8px; background-color: #fff; 
    display: flex; justify-content: center; align-items: center; padding: 10px; margin-bottom: 10px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.03); transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.q-cat-item:hover .q-cat-img { box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-color: #ff0f39; }
.q-cat-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.q-cat-title { font-size: 13px; color: #333; text-align: center; font-weight: 500; transition: color 0.3s ease;}
.q-cat-item:hover .q-cat-title { color: #ff0f39; }

/* ==================================================
   MAIN CONTENT & CSS GRID
================================================== */
#main-content {
    background: #fff; padding: 20px; border-radius: 8px; margin-bottom: 40px; box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
.grid-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 14px; color: #666; }
.sort-dropdown { padding: 8px; border: 1px solid #ccc; font-family: inherit; cursor: pointer; outline: none; transition: border-color 0.3s; }
.sort-dropdown:focus { border-color: #ff0f39; }

.row-header { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; margin-bottom: 20px; border-bottom: 2px solid #f4f4f4; padding-bottom: 10px; }
.row-header h2 { font-size: 22px; margin: 0; color: #111; }
.row-header .view-all { font-size: 14px; color: #666; font-weight: 500; transition: color 0.3s; }
.row-header .view-all:hover { color: #ff0f39; }

.art-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 15px 5px 30px 5px; }
.art-item { 
    width: 100%; background-color: #fff; cursor: pointer; display: flex; flex-direction: column; 
    border-radius: 4px; transition: transform 0.4s ease, box-shadow 0.4s ease; border: 1px solid #eaeaea;
}
.art-item:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.image-wrapper { background-color: #f8f8f8; padding: 20px; display: flex; justify-content: center; align-items: center; height: 280px; border-bottom: 1px solid #eaeaea; border-radius: 4px 4px 0 0; overflow: hidden; }
.art-item img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 2px 2px 8px rgba(0,0,0,0.2); border: 8px solid #222; transition: transform 0.5s ease; }
.art-item:hover img { transform: scale(1.08); }
.art-details { padding: 15px 0; text-align: center; }
.art-title { font-size: 15px; font-weight: 500; margin: 0 0 5px 0; color: #111; transition: color 0.3s; }
.art-item:hover .art-title { color: #ff0f39; }
.art-cate { color: #666; font-size: 13px; margin: 0 0 8px 0; }
.art-price { color: #d0021b; font-weight: 700; font-size: 16px; margin: 0; } /* Giá màu đỏ mận gốc */

/* ==================================================
   DARK FOOTER
================================================== */
#footer.dark-footer {
    background-color: #1e1e1e; color: #e0e0e0; padding: 0 0 50px 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.dark-footer a { color: #e0e0e0; text-decoration: none; transition: color 0.2s; }
.dark-footer a:hover { color: #ff0f39; text-decoration: none; }

.footer-top-bar { display: flex; align-items: center; justify-content: space-between; padding: 30px 0; flex-wrap: wrap; gap: 20px; }
.newsletter-title { font-size: 16px; font-weight: 400; text-transform: uppercase; color: #fff; letter-spacing: 0.5px; }
.newsletter-form-container { flex: 1; max-width: 550px; }
.newsletter-form-container form { display: flex; width: 100%; height: 42px; }
.input-group { display: flex; align-items: center; background: #fff; flex: 1; padding-left: 15px; }
.input-group .mail-icon { color: #999; margin-right: 8px; font-size: 14px; }
.input-group input { border: none; outline: none; width: 100%; height: 100%; color: #333; font-size: 14px; }
.newsletter-form-container button {
    background: linear-gradient(135deg, #ff0f39, #ff4b2b); color: #fff; border: none; padding: 0 25px; font-size: 14px; 
    cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background 0.3s;
}
.newsletter-form-container button:hover { background: linear-gradient(135deg, #d90429, #cc0029); }

.social-icons-top { display: flex; gap: 8px; }
.social-btn-sq {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 16px; border-radius: 4px; text-decoration: none !important; transition: opacity 0.3s;
}
.social-btn-sq.zalo { background-color: #0088FF; font-size: 11px; font-weight: bold; }
.social-btn-sq.youtube { background-color: #ff0000; }
.social-btn-sq.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.social-btn-sq.facebook { background-color: #3b5998; }
.social-btn-sq:hover { opacity: 0.8; color: white !important; }

.footer-divider { border-top: 1px solid #333; margin-bottom: 40px; }
.footer-main { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer-col { flex: 1; min-width: 220px; }
.footer-logo img { max-width: 180px; margin-bottom: 15px; }
.company-intro { margin-bottom: 15px; font-size: 14px; }
.contact-info { list-style: none; padding: 0; margin: 0 0 20px 0; }
.contact-info li { margin-bottom: 10px; display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.6; }
.contact-info i { margin-top: 4px; width: 14px; text-align: center; color: #e0e0e0; }
.business-reg { font-size: 13px; color: #bbb; line-height: 1.6; margin-bottom: 15px; }
.bct-badge img { height: 40px; }
.col-links h3, .col-support h3 { color: #fff; font-size: 16px; margin-top: 0; margin-bottom: 20px; font-weight: 500; }
.col-links ul { list-style: none; padding: 0; margin: 0; }
.col-links ul li { margin-bottom: 12px; position: relative; padding-left: 15px; }
.col-links ul li::before { content: "•"; position: absolute; left: 0; color: #ff0f39; font-size: 14px; }
.col-links a { font-size: 14px; }
.col-support p { font-size: 14px; margin-bottom: 0; }
.highlight-theme { color: #ff0f39; font-weight: bold; } /* Số điện thoại màu đỏ */
.mt-30 { margin-top: 40px !important; }
.payment-methods img { max-width: 100%; height: auto; border-radius: 2px; }

/* ==================================================
   GIỎ HÀNG TRƯỢT (DRAWER CART)
================================================== */
.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6);
    z-index: 9998; opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed; top: 0; right: -400px; width: 100%; max-width: 360px; height: 100vh;
    background: #fff; z-index: 9999; box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column;
}
.cart-drawer.active { right: 0; }

.cart-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #eaeaea; background: #f9f9f9; }
.cart-drawer-header h3 { margin: 0; font-size: 18px; color: #222; text-transform: uppercase; }
.cart-close-btn { background: none; border: none; font-size: 20px; color: #888; cursor: pointer; transition: transform 0.3s, color 0.3s; }
.cart-close-btn:hover { color: #ff0f39; transform: rotate(90deg); }

.cart-drawer-body { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; }
.empty-cart-msg { text-align: center; color: #888; }
.empty-cart-msg i { font-size: 60px; margin-bottom: 20px; color: #ddd; }
.continue-shopping { 
    display: inline-block; margin-top: 15px; padding: 12px 25px; 
    background: linear-gradient(135deg, #ff0f39, #ff4b2b); color: #fff; border-radius: 4px; font-weight: bold; transition: 0.3s;
}
.continue-shopping:hover { background: linear-gradient(135deg, #d90429, #cc0029); color: white; }

.cart-drawer-footer { padding: 20px; border-top: 1px solid #eaeaea; background: #fff; }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 15px; }
.cart-total strong { color: #d0021b; font-size: 20px;}
.checkout-btn { width: 100%; padding: 15px; background: #222; color: #fff; border: none; font-size: 16px; font-weight: bold; border-radius: 4px; cursor: pointer; transition: background 0.3s; text-transform: uppercase; }
.checkout-btn:hover { background: #ff0f39; }

/* ==================================================
   FLOATING SOCIAL 
================================================== */
.floating-social { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 10px; z-index: 9999; }
.social-btn {
    width: 45px; height: 45px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    color: white; font-size: 20px; text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: transform 0.3s, box-shadow 0.3s;
}
.social-btn:hover { transform: scale(1.1) translateY(-5px); box-shadow: 0 6px 15px rgba(0,0,0,0.4); color: white !important; }
.social-btn.phone { background-color: #e53935; } 
.social-btn.messenger { background-color: #0084ff; } 
.social-btn.zalo { background-color: #0088FF; } 

/* ==================================================
   MOBILE MENU (HAMBURGER & OFF-CANVAS)
================================================== */
.mobile-menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; margin-right: 15px; padding: 0; }
.mobile-menu-close { display: none; text-align: right; padding: 15px 20px; font-size: 24px; color: #333; cursor: pointer; background: #f9f9f9; border-bottom: 1px solid #eee; }
.menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9998; opacity: 0; transition: opacity 0.3s ease; }
.menu-overlay.active { display: block; opacity: 1; }

.fade { animation-name: fade; animation-duration: 1.5s; }
@keyframes fade { from {opacity: .4} to {opacity: 1} }

/* ==================================================
   RESPONSIVE (ĐIỆN THOẠI / MÁY TÍNH BẢNG)
================================================== */
@media (max-width: 992px) {
    .header-top-inner { flex-wrap: wrap; }
    .search-bar { order: 3; max-width: 100%; margin-top: 10px; }
    .top-banner-layout { flex-direction: column; }
    
    .mobile-menu-toggle { display: block; }
    
    .sidebar-menu {
        position: fixed; top: 0; left: -320px; width: 300px; max-width: 85vw; height: 100vh;
        background: #fff; z-index: 9999; transition: left 0.3s ease; overflow-y: auto; box-shadow: 2px 0 15px rgba(0,0,0,0.2);
    }
    .sidebar-menu.active { left: 0; }
    .mobile-menu-close { display: block; }
    
    .quick-categories { justify-content: flex-start; padding-left: 5px; }
    .art-grid { grid-template-columns: repeat(3, 1fr); }
    
    .sub-menu {
        position: static !important; width: 100% !important; box-shadow: none !important;
        border: none !important; border-left: 2px solid #ff0f39 !important; padding: 10px 15px !important;
        display: none; flex-direction: column; gap: 15px;
    }
    .menu-item:hover .sub-menu { display: none; }
    .menu-item.open .sub-menu { display: flex !important; }
    .menu-item > a .arrow { transition: transform 0.3s; }
    .menu-item.open > a .arrow { transform: rotate(90deg); }
}

@media (max-width: 768px) {
    .header-utilities { gap: 12px; }
    .util-item-top .util-text { display: none; }
    .util-item-top i { font-size: 20px; }
    .main-nav-links { display: none; }
    .grid-controls { flex-direction: column; align-items: flex-start; gap: 10px; }
    .sort-dropdown { width: 100%; }
    .art-grid { grid-template-columns: repeat(2, 1fr); }
    .image-wrapper { height: 220px; padding: 10px;}
    .footer-top-bar { flex-direction: column; align-items: flex-start; }
    .newsletter-form-container { width: 100%; }
    .footer-main { flex-direction: column; }
    .footer-col { margin-bottom: 20px; }
    .mt-30 { margin-top: 20px !important; }
    .social-icons { justify-content: center; }
    .floating-social { transform: scale(0.8); transform-origin: bottom right; }
}

/* ==================================================
   AUTH PAGES (LOGIN & SIGNUP)
================================================== */
.auth-page {
    display: flex; justify-content: center; align-items: center; min-height: 100vh;
    background-color: #f9f9f9; position: relative; padding: 40px 15px;
}

.auth-wrapper {
    background: #fff; width: 100%; max-width: 420px; padding: 40px;
    border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); position: relative; z-index: 10;
}
.signup-wrapper { max-width: 650px; }

.auth-logo { display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; transition: transform 0.3s ease; margin-bottom: 10px; }
.auth-logo:hover { transform: scale(1.05); }
.auth-logo img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.auth-logo h2 { margin: 0; color: #222; font-size: 22px; }

.auth-title { font-size: 22px; font-weight: 700; text-align: center; margin: 10px 0 30px; color: #222; text-transform: uppercase; letter-spacing: 1px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: #444; }
.form-group label span { color: #ff0f39; }

.input-with-icon { position: relative; }
.input-with-icon i { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); color: #aaa; }
.input-with-icon .form-control { padding-left: 40px; }

.form-control {
    width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s; font-family: inherit; background-color: #fafafa;
}
.form-control:focus {
    border-color: #ff0f39; box-shadow: 0 0 0 3px rgba(255, 15, 57, 0.15); outline: none; background-color: #fff;
}

.form-row { display: flex; gap: 20px; }
.form-row .form-group { flex: 1; }

.radio-group { display: flex; gap: 25px; height: 43px; align-items: center; padding: 0 10px; }
.radio-group label { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 400; cursor: pointer; }

.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; font-size: 14px; }
.form-options a { color: #ff0f39; font-weight: 500; }
.form-options a:hover { text-decoration: underline; }
.custom-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #555; font-weight: 400 !important; }

.btn {
    width: 100%; padding: 14px; border-radius: 6px; font-size: 15px; font-weight: bold;
    cursor: pointer; transition: all 0.3s; text-transform: uppercase; border: none; margin-bottom: 12px;
}
.btn-primary { background: linear-gradient(135deg, #ff0f39, #ff4b2b); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 15, 57, 0.3); }
.btn-outline { background-color: transparent; color: #444; border: 1px solid #ccc; }
.btn-outline:hover { border-color: #ff0f39; color: #ff0f39; background-color: #ffe6eb; } /* Hover Đỏ */

.auth-link { text-align: center; margin-top: 15px; font-size: 14px; color: #666; }
.auth-link a { color: #ff0f39; font-weight: 600; }
.auth-link a:hover { text-decoration: underline; }

.funny-footer { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 12px; color: #bbb; pointer-events: none; }

@media (max-width: 650px) {
    .form-row { flex-direction: column; gap: 0; }
    .auth-wrapper { padding: 30px 20px; margin-top: 20px; margin-bottom: 20px; }
    .auth-page { align-items: flex-start; }
}