/* --- NAVIGATOR STYLES --- */
.sp-sticky-header { position: fixed !important; top: 0 !important; left: 0 !important; width: 100%; height: 45px !important; background-color: #000 !important; display: flex !important; align-items: center !important; justify-content: space-between !important; z-index: 99999 !important; box-shadow: 0 2px 5px rgba(0,0,0,0.5) !important; font-family: Arial, sans-serif !important; }
.left-group, .right-group { display: flex; align-items: center; height: 100%; }
.sp-back-to-soha-new { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; background-color: #007f74; color: white; font-size: 18px; cursor: pointer; text-decoration: none; transition: background-color 0.3s ease; }
.sp-back-to-soha-new:hover { background-color: #00665d; }
.emg-icon-svg { fill: currentColor; width: 20px; height: 20px; }
.sp-mag-logo-new { margin-left: 15px; display: flex; align-items: center; text-decoration: none; }
.sp-mag-logo-new img { height: 24px; width: auto; display: block; border: 0; }
.center-logo { position: absolute; left: 50%; transform: translateX(-50%); pointer-events: none; user-select: none; display: flex; align-items: center; justify-content: center; }
.center-logo img { height: 26px; width: auto; display: block; border: 0; }
.mobile-emag-logo { display: none; height: 24px; width: auto; margin-right: 15px; border: 0; }
.fb-custom-btn { display: flex; align-items: center; gap: 6px; color: white; font-size: 13px; font-weight: bold; cursor: pointer; opacity: 0.9; margin-right: 15px; text-decoration: none; transition: opacity 0.3s ease; }
.fb-custom-btn:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 768px) { .center-logo, .fb-custom-btn { display: none !important; } .mobile-emag-logo { display: block !important; } }

/* --- TYPOGRAPHY & LAYOUT --- */
body { font-family: 'Roboto', sans-serif; background-color: #242424; color: #2b2b2b; overflow-x: hidden; }
.font-phudu { font-family: 'Phudu', sans-serif; }
.font-caveat { font-family: 'Caveat', cursive; }
html { scroll-behavior: smooth; }

/* Nền giấy mỹ thuật & hiệu ứng nhiễu */
.paper-bg {
    background-color: #fdfbf7;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

/* Custom Input (Radio & Checkbox) */
.custom-check { appearance: none; width: 1.35rem; height: 1.35rem; border: 2px solid #94a3b8; border-radius: 4px; outline: none; cursor: pointer; position: relative; background-color: #fff; transition: all 0.2s; margin-top: 2px; flex-shrink: 0; }
.custom-check:checked { background-color: #4A6750; border-color: #4A6750; }
.custom-check:checked::after { content: ''; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.radio-label { cursor: pointer; transition: color 0.2s; padding: 12px 16px; border-radius: 8px; border: 1px solid transparent; }
.radio-label:hover { background-color: rgba(74, 103, 80, 0.05); border-color: rgba(74, 103, 80, 0.1); }
.radio-label.selected { background-color: rgba(74, 103, 80, 0.08); border-color: rgba(74, 103, 80, 0.3); font-weight: 500; }

/* Custom Styles for Scale Buttons (1-5) */
.scale-btn {
    background-color: var(--base-bg, #f1f5f9); color: var(--base-color, #475569); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0,0,0,0.04); box-shadow: inset 0 1px 3px rgba(255,255,255,0.5); width: 100%; aspect-ratio: 1/1;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; position: relative; z-index: 10;
}
.scale-btn:hover { transform: translateY(-2px) scale(1.05); filter: brightness(0.95); }
.scale-btn.active {
    background-color: var(--active-bg, #3b82f6); color: white; transform: scale(1.2) translateY(-2px);
    box-shadow: 0 8px 16px -4px var(--active-bg), 0 0 0 3px #fdfbf7; border-color: transparent !important; z-index: 20;
}

/* Hero Background */
.hero-bg { background: linear-gradient(135deg, #FDF7F2 0%, #F5EAE1 100%); position: relative; overflow: hidden; }

@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin-fast { animation: spin 0.8s linear infinite; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.locked-input { pointer-events: none; opacity: 0.7; filter: grayscale(30%); }
.paper-card { background-color: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 4px 20px -2px rgba(0,0,0,0.03); }