/* Typography Setup */
.font-phudu { font-family: 'Phudu', cursive; }
.font-roboto { font-family: 'Roboto', sans-serif; }

/* Body Layout */
body {
    margin-top: 45px;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #be123c; border-radius: 4px; }

/* Tet Vibe Background Pattern */
.tet-bg {
    background-color: #fff1f2;
    background-image: 
        radial-gradient(#fda4af 1px, transparent 1px), 
        radial-gradient(#fecdd3 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* Decorative Elements */
.flower-accent {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

/* Chart Wrappers - Seamless Style */
.chart-wrapper {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    margin-bottom: 3rem;
}

.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
}
.chart-container-small {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Chart Actions Toolbar */
.chart-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px dashed rgba(229, 231, 235, 0.5); 
}

.btn-action {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 9999px;
    transition: all 0.2s;
    cursor: pointer;
    background-color: rgba(243, 244, 246, 0.7);
    color: #6b7280;
}

.btn-download:hover { background-color: #e5e7eb; color: #374151; }
.btn-share:hover { background-color: #dbeafe; color: #1d4ed8; }

@media (max-width: 768px) {
    .chart-container { height: 300px; }
    .chart-container-small { height: 250px; }
}

/* Image Caption Style */
.img-caption {
    font-style: italic;
    color: #6b7280;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* --- 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;
}
.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; }
.sp-mag-logo-new img { height: 24px; width: auto; display: block; }

.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; }

.mobile-emag-logo {
    display: none;
    height: 24px;
    width: auto;
    margin-right: 15px;
}

.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;
}
.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;
    }
}