/* Globális Görgetés Fix */
html { scroll-behavior: smooth; overflow-y: scroll; } /* Mindig mutatja a scrollbar helyét, elkerülve az oldal szélességének ugrálását */

.st-portal-container { 
    font-family: 'Inter', sans-serif; 
    background: #000; 
    color: #fff; 
    padding: 20px; 
    min-height: 100vh;
    overflow-x: hidden; /* Megakadályozza a vízszintes ugrálást */
}

/* Login felület */
.st-login-box { max-width: 400px; margin: 80px auto; background: #111; border: 1px solid #222; padding: 40px; border-radius: 15px; text-align: center; }
.login-title { color: #fac643; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 2px; font-weight: 800; }
.login-inner label { display: block; text-align: left; margin-bottom: 8px; font-size: 12px; color: #888; }
.login-inner select, .login-inner input { width: 100%; background: #000 !important; border: 1px solid #333; color: #fff; padding: 12px; border-radius: 8px; margin-bottom: 20px; }
#st-login-btn { width: 100%; background: #fac643; color: #000; border: none; padding: 15px; border-radius: 8px; font-weight: 800; cursor: pointer; }

/* Dashboard */
.sbd-main-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 40px; }
.sbd-box { background: #111; border: 1px solid #222; padding: 20px; border-radius: 12px; text-align: center; }
.sbd-label { font-size: 11px; color: #fac643; font-weight: 800; }
.sbd-value { font-size: 32px; font-weight: 900; margin: 5px 0; }
.total-box { background: #fac643; color: #000; border: none; }
.total-box .sbd-label, .total-box .sbd-value, .total-box .sbd-est { color: #000 !important; }

/* Szekciók */
.report-main-title { font-size: 18px; font-weight: 800; color: #fac643; margin: 30px 0 20px 0; text-transform: uppercase; }
.st-separator-line { height: 1px; background: #222; margin: 40px 0; }
.block-title { margin: 15px 0; font-weight: 700; color: #888; font-size: 14px; }

/* Grafikon konténer fix magassággal az ugrálás ellen */
.st-chart-container { position: relative; height: 300px; width: 100%; background: #111; border-radius: 12px; padding: 15px; margin-bottom: 20px; }

/* Táblázat DESIGN */
.st-portal-week { background: #111; border-radius: 12px; margin-bottom: 12px; border: 1px solid #222; overflow: hidden; }
.week-header { background: #1a1a1a; padding: 15px 20px; cursor: pointer; display: flex; justify-content: space-between; font-weight: 700; }
.day-header { padding: 10px 20px; background: #0a0a0a; border-bottom: 1px solid #1a1a1a; cursor: pointer; display: flex; justify-content: space-between; font-size: 14px; color: #fac643; }

.st-table-wrapper { overflow-x: auto; background: #000; padding: 10px; -webkit-overflow-scrolling: touch; } /* Sima görgetés mobilra */
.st-table { width: 100% !important; border-collapse: separate !important; border-spacing: 0 !important; font-size: 13px; color: #ccc; background: #000 !important; border-radius: 10px; overflow: hidden; border: 1px solid #222 !important; }

.st-table th { background: #fac643 !important; color: #000 !important; padding: 12px 10px !important; text-align: left; font-size: 11px; font-weight: 800; border: none !important; text-transform: uppercase; }

.st-table tr, .st-table tr:nth-child(even), .st-table tr:nth-child(odd) { background: transparent !important; }
.st-table td { padding: 10px !important; border-bottom: 1px solid #111 !important; background: transparent !important; }
.st-table input, .st-table select { background: #000 !important; border: 1px solid #333 !important; color: #fff !important; padding: 5px !important; border-radius: 4px !important; width: 75px !important; text-align: center !important; }

#st-status { display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #fac643; color: #000; padding: 10px 20px; border-radius: 30px; z-index: 9999; font-weight: 800; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }