/* ====================================================
   DASHBOARD (PRADŽIA) STILIUS V2
   ==================================================== */

.tf-pradzia-wrap { font-family: 'Inter', -apple-system, sans-serif; color: var(--tf-text-main); background: var(--tf-bg-body); padding: 30px; border-radius: 24px; box-shadow: inset 0 2px 4px var(--tf-shadow); transition: all 0.3s; }

/* Header */
.tf-header-pradzia { display: flex; justify-content: space-between; align-items: center; margin-bottom: 35px; flex-wrap: wrap; gap: 15px; }
.tf-header-pradzia h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -1px; color: var(--tf-text-heading); transition: color 0.3s; }
.tf-laikotarpis-text { color: var(--tf-text-muted); font-size: 14px; transition: color 0.3s; display: block; margin-top: 5px; }

.tf-btn-group { display: flex; gap: 8px; background: var(--tf-bg-card); padding: 6px; border-radius: 12px; border: 1px solid var(--tf-border); box-shadow: 0 2px 4px var(--tf-shadow); transition: all 0.3s; }
.tf-btn-pill { padding: 8px 18px; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 600; color: var(--tf-text-muted); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.tf-btn-pill:hover { color: var(--tf-primary); background: var(--tf-menu-hover); }
.tf-btn-pill.active { background: var(--tf-primary); color: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25); }

/* Grid & Cards */
.tf-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 35px; }
@media (max-width: 1024px) { .tf-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tf-grid-4 { grid-template-columns: 1fr; } }

.tf-stat-card { background: var(--tf-bg-card); padding: 24px; border-radius: 20px; border: 1px solid var(--tf-border); box-shadow: 0 4px 15px var(--tf-shadow); display: flex; flex-direction: column; justify-content: space-between; transition: all 0.3s ease; position: relative; overflow: hidden; }
.tf-stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 25px rgba(0,0,0,0.1); border-color: var(--tf-primary); }

.tf-stat-card .label { font-size: 11px; font-weight: 700; color: var(--tf-text-muted); text-transform: uppercase; margin-bottom: 12px; display: block; letter-spacing: 0.5px; transition: color 0.3s; }
.tf-stat-card .value { font-size: 28px; font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; transition: color 0.3s; }

/* Colors */
.tf-color-green { color: #059669 !important; }
.tf-color-red { color: #dc2626 !important; }

/* Trends */
.tf-trend { font-size: 12px; font-weight: 700; margin-top: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 6px; transition: all 0.3s; }
.trend-up { color: #059669; background: rgba(5, 150, 105, 0.1); border: 1px solid rgba(5, 150, 105, 0.2); }
.trend-down { color: #dc2626; background: rgba(220, 38, 38, 0.1); border: 1px solid rgba(220, 38, 38, 0.2); }

/* PVM Gradient Card */
.pvm-highlight { background: linear-gradient(135deg, #0f766e 0%, #115e59 100%); color: white; border: none; }
.pvm-highlight .label { color: rgba(255,255,255,0.7); }
.pvm-highlight .value { color: white !important; }
.pvm-highlight:hover { box-shadow: 0 12px 25px rgba(15, 118, 110, 0.3); transform: translateY(-4px); border: none; }
.tf-skydas-label { font-size: 13px; margin-top: 15px; font-weight: 600; color: rgba(255,255,255,0.9); display: flex; align-items: center; gap: 6px; }

/* Grynasis Pelnas Card */
.pelnas-highlight { background: var(--tf-menu-active); border: 2px solid rgba(37,99,235,0.3); }
.pelnas-highlight .label { color: var(--tf-primary); }
.pelnas-highlight .value { color: var(--tf-primary) !important; }
.pelnas-highlight .tf-trend { background: var(--tf-bg-card); }

/* Detailed rows */
.tf-detail { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--tf-border); font-size: 12px; transition: border-color 0.3s; }
.tf-detail-row { display: flex; justify-content: space-between; margin-bottom: 4px; color: var(--tf-text-muted); }
.tf-detail-row strong { color: var(--tf-text-main); }

/* VMI Dark Box */
.tf-vmi-box { background: #1e293b; background-image: radial-gradient(circle at top right, #334155, transparent); color: white; padding: 35px; border-radius: 24px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 35px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15); flex-wrap: wrap; gap: 20px;}
.vmi-info .label { color: #94a3b8; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.vmi-info h3 { font-size: 42px; font-weight: 800; margin: 8px 0; color: #fff; letter-spacing: -1px; }
.vmi-info p { color: #94a3b8; font-size: 13px; margin: 0; }

.vmi-pills-container { display: flex; gap: 16px; flex-wrap: wrap; }
.vmi-stat-pill { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); padding: 18px 25px; border-radius: 16px; min-width: 180px; border: 1px solid rgba(255,255,255,0.1); }
.vmi-pill-label { display:block; margin-bottom:5px; font-size:12px; color: #cbd5e1; font-weight: 600; }
.vmi-pill-value { font-size: 26px; font-weight: 800; color: #2dd4bf; }

.alert-pill { background: rgba(220, 38, 38, 0.15); border-color: rgba(220, 38, 38, 0.2); }
.alert-label { color: #fca5a5; }
.alert-value { color: #f87171; }
.alert-small { color: #fca5a5; font-size: 11px; opacity: 0.8; display: block; margin-top: 5px;}

/* Progress bar */
.progress-track { background: rgba(255,255,255,0.1); border-radius: 10px; height: 6px; width: 100%; margin-top: 8px; overflow: hidden; }
.progress-fill { background: #2dd4bf; height: 100%; border-radius: 10px; transition: width 1s ease-out; }

/* Skolininkai */
.tf-skolininkai-wrap { background: var(--tf-bg-card); padding: 28px; border-radius: 20px; border: 1px solid var(--tf-border); box-shadow: 0 4px 15px var(--tf-shadow); transition: all 0.3s; }
.tf-skolininkai-wrap h4 { margin: 0 0 20px 0; font-size: 16px; font-weight: 800; color: var(--tf-text-heading); transition: color 0.3s; }
.tf-skolininkai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }

.tf-debt-card { background: var(--tf-bg-box); padding: 16px 20px; border-radius: 12px; border: 1px solid var(--tf-border); display: flex; justify-content: space-between; align-items: center; transition: all 0.2s; }
.tf-debt-card:hover { background: var(--tf-menu-hover); border-color: var(--tf-primary); transform: translateX(4px); }
.debt-name { font-weight: 700; font-size: 14px; color: var(--tf-text-main); transition: color 0.3s; }
.debt-amount { color: #ef4444; font-weight: 800; font-size: 15px; }
.tf-empty-debt { color: var(--tf-text-muted); font-size: 14px; font-weight: 500; }
/* Grafiko Kortelė */
.tf-chart-card { background: var(--tf-bg-card); padding: 24px 30px; border-radius: 24px; border: 1px solid var(--tf-border); box-shadow: 0 4px 15px var(--tf-shadow); margin-bottom: 35px; transition: all 0.3s; }
.tf-chart-card h4 { margin: 0 0 20px 0; font-size: 16px; font-weight: 800; color: var(--tf-text-heading); }
.tf-chart-wrapper { position: relative; height: 320px; width: 100%; }
@media (max-width: 768px) { .tf-chart-wrapper { height: 250px; } .tf-chart-card { padding: 20px; } }
