.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; }
}

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; }

.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-radio {
    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: 1px;
    flex-shrink: 0;
}
.custom-radio:checked {
    background-color: #4A6750; 
    border-color: #4A6750;
}
.custom-radio: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;
}
.radio-label:hover {
    color: #4A6750;
}

.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);
}
.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.3) translateY(-2px);
    box-shadow: 0 8px 16px -4px var(--active-bg), 0 0 0 3px #fdfbf7;
    border-color: transparent !important;
    font-weight: 700;
    z-index: 20;
}

.hero-bg {
    background: linear-gradient(135deg, #1E2923 0%, #0F1713 100%);
    position: relative;
    overflow: hidden;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-spin-fast { animation: spin 0.8s linear infinite; }

.locked-input {
    pointer-events: none;
    opacity: 0.7;
    filter: grayscale(30%);
}

.sticky-banner {
    position: sticky;
    top: 4.5rem; 
    z-index: 40;
}

.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);
}

.custom-scroll::-webkit-scrollbar {
    height: 6px;
}
.custom-scroll::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 4px;
}
.custom-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 4px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}