:root {
    --primary: #0066cc;
    --primary-gradient: linear-gradient(135deg, #0072ff, #00c6ff);
    --secondary: #28a745;
    --bg-light: #f4f7fa;
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background: #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Premium Mobile Shell */
.phone-container {
    width: 375px;
    height: 780px;
    background: #1a1a1a;
    border-radius: 50px;
    padding: 12px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.3);
    position: relative;
    border: 4px solid #333;
}

.phone-inner {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    border-radius: 38px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Notch */
.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 28px;
    background: #1a1a1a;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 1000;
}

/* Layout Components */
header {
    background: var(--white);
    padding: 40px 20px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eee;
}

.blue-header {
    background: var(--primary);
    color: white;
    padding: 45px 20px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 28px;
    height: 28px;
}

.logo-text {
    font-weight: 800;
    color: var(--secondary);
    font-size: 16px;
}

.content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 20px 80px; /* Added bottom padding for nav bar */
    scrollbar-width: none;
}

.content::-webkit-scrollbar { display: none; }

/* Typography */
h2 {
    color: var(--primary);
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 25px;
}

/* Selection Lists */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-item {
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.card-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.card-item span {
    font-weight: 600;
    color: #444;
}

.chevron {
    color: #ccc;
    font-size: 18px;
}

/* Footer Section */
.footer-action {
    padding: 20px 20px 80px; /* Added bottom padding for nav bar */
    background: var(--white);
    border-top: 1px solid #f0f0f0;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.2);
    transition: transform 0.2s;
}

.btn-primary:active { transform: scale(0.98); }

/* Dashboard Mini Cards */
.dashboard-box {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-top: 20px;
    box-shadow: var(--shadow);
}

.dash-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.dash-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    cursor: pointer;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.dash-icon-btn p {
    font-size: 10px;
    font-weight: 700;
    color: #444;
}

/* Screen Transitions */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: none;
    flex-direction: column;
    z-index: 10;
}

.screen.active {
    display: flex;
    animation: slideIn 0.4s ease-out forwards;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Menu Harian Specifics */
.day-tabs {
    display: flex;
    background: #fff;
    padding: 10px;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tab {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.tab.active {
    background: var(--primary);
    color: white;
}

.food-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.food-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.food-info {
    padding: 12px;
}

.food-name {
    font-weight: 700;
    font-size: 14px;
}

/* Nutrition Chart */
.nutrition-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.nut-label { font-weight: 600; color: var(--primary); }
.nut-value { font-weight: 700; }

.chart-container {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    padding: 20px 0;
}

.chart-bar {
    flex: 1;
    background: var(--secondary);
    border-radius: 4px 4px 0 0;
    position: relative;
}

/* Upload UI */
.upload-zone {
    border: 2px dashed #ccc;
    border-radius: var(--radius-md);
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: white;
}

.upload-icon {
    font-size: 40px;
    color: #ccc;
}

/* Login Specifics */
.login-header {
    padding: 60px 40px 30px;
    text-align: center;
}

.login-header .logo-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

.login-form {
    padding: 0 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 2px solid #eee;
    background: white;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 13px;
    font-weight: 600;
}

.forgot-pass {
    color: var(--primary);
    text-decoration: none;
}

.login-footer {
    text-align: center;
    margin-top: auto;
    padding-bottom: 40px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* Nav Bar */
.nav-bar {
    height: 60px;
    background: white;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 5px;
    z-index: 1001;
}

.nav-item {
    font-size: 20px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
    width: 33%;
    text-align: center;
    padding: 10px;
}

.nav-item:active {
    color: var(--primary);
    transform: scale(0.9);
}

.nav-item.active {
    color: var(--primary);
}

/* ===== Registration Screens ===== */
.reg-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    margin-bottom: 14px;
    border: 2px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.reg-card:hover,
.reg-card:active {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.12);
}

.reg-card-icon {
    font-size: 30px;
    width: 52px;
    height: 52px;
    background: #f0f7ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reg-card-body {
    flex: 1;
}

.reg-card-title {
    font-weight: 800;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.reg-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.4;
}

/* Badge tipe yang dipilih */
.reg-badge {
    background: var(--primary-gradient);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

/* Form card container */
.form-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow);
}

.form-section-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f7ff;
}

/* Select dropdown styling */
.input-select {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 2px solid #eee;
    background: white;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230066cc' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    transition: all 0.3s;
}

.input-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

/* Feature Navigation Tabs (New) */
.feature-nav-section {
    margin-top: 25px;
    padding-bottom: 20px;
    position: relative;
}

.feature-nav-title {
    font-size: 14px;
    font-weight: 800;
    color: #337a8b;
    margin-bottom: 12px;
    padding-left: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-nav-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #337a8b;
    border-radius: 2px;
}

.feature-nav-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 15px 5px;
}

.feature-btn {
    padding: 15px 10px;
    border-radius: 12px;
    border: 1px solid #e1e8f0;
    background: white;
    color: #4a6a71;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    text-align: center;
}

.feature-btn i {
    font-size: 20px;
    font-style: normal;
}

.feature-btn.active {
    background: #337a8b;
    color: white;
    border-color: #337a8b;
    box-shadow: 0 6px 15px rgba(51, 122, 139, 0.2);
}

.feature-btn:active {
    transform: scale(0.98);
}

/* Feature Content Placeholder */
.feature-content-box {
    background: white;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    min-height: 120px;
    display: none;
    border: 1px solid #e0eef1;
    border-top: none;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-content-box.active {
    display: block;
}

/* Sub-tabs for Perencanaan */
.sub-nav-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.sub-btn {
    padding: 6px 12px;
    border: none;
    background: none;
    color: #888;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.sub-btn.active {
    color: #337a8b;
}

.sub-btn.active::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #337a8b;
}

/* Monitoring Data Cards */
.mon-card {
    background: white;
    border: 1px solid #eef2f5;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.mon-card-header {
    background: #337a8b;
    color: white;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mon-card-body {
    padding: 15px;
}

.gauge-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.gauge-chart {
    position: relative;
    width: 100px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gauge-svg {
    width: 100px;
    height: 60px;
}

.gauge-val {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    margin-top: -10px;
}

.gauge-stats {
    flex: 1;
}

.stat-item {
    margin-bottom: 10px;
}

.stat-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 13px;
    font-weight: 800;
    color: #1a1a1a;
}

.mon-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1.5px solid #337a8b;
    border-radius: 8px;
    background: white;
    color: #337a8b;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.mon-btn:hover {
    background: #f0f7f9;
}

.mon-btn:active { background: #f0f0f0; }

/* Info Cards in Monitoring */
.mon-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fbff;
    border: 1px solid #e1e8f0;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
}
.mon-info-icon {
    width: 40px;
    height: 40px;
    background: white;
    border: 1.5px solid #5d78ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5d78ff;
    font-size: 20px;
}
.mon-info-content .info-label {
    font-size: 11px;
    color: #333;
    font-weight: 700;
    margin-bottom: 2px;
}
.mon-info-content .info-val {
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
}

/* Horizontal Stacked Bar */
.stacked-bar-container {
    margin-top: 15px;
}
.stacked-bar-label {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    margin-bottom: 8px;
    display: block;
}
.stacked-bar {
    display: flex;
    height: 24px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
}
.bar-segment {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: white;
    font-weight: 700;
}

/* Carousel/Slider Dots Indicator */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
}
.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1d8e0;
}
.slider-dot.active {
    background: #5d78ff;
    width: 12px;
    border-radius: 3px;
}

/* Section Header in Cards */
.mon-card-subheader {
    background: #1a6d8c;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}
.mon-card-subheader i { font-style: normal; opacity: 0.8; font-weight: 400; border: 1px solid white; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; }

/* Carousel Card Style */
.carousel-card {
    background: #f8fbff;
    border: 1px solid #e1e8f0;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.carousel-icon { font-size: 24px; color: #5d78ff; }
.carousel-text { font-size: 12px; font-weight: 700; color: #1a1a1a; flex: 1; }
.carousel-next { background: #eef2f5; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #555; cursor: pointer; }

/* Social Media Sentiment Grid */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.social-card {
    background: white;
    border: 1px solid #e1e8f0;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.social-info .social-name {
    font-size: 12px;
    font-weight: 800;
    color: #1a1a1a;
}
.social-info .social-post-count {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

/* Sentiment Table */
.sentiment-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}
.sentiment-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}
.sentiment-table th {
    text-align: left;
    padding: 10px 8px;
    color: #1a1a1a;
    font-weight: 800;
    border-bottom: 1.5px solid #eee;
}
.sentiment-table td {
    padding: 10px 8px;
    color: #444;
    border-bottom: 1px solid #f5f5f5;
}
.sentiment-table td:not(:first-child) {
    text-align: center;
}

/* Chart Axis and Lines */
.chart-axis-y {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 120px;
    padding-right: 10px;
    border-right: 1.5px solid #eee;
    font-size: 10px;
    color: #666;
}
.chart-axis-x {
    display: flex;
    justify-content: space-between;
    padding-left: 30px;
    margin-top: 8px;
    font-size: 10px;
    color: #666;
}
.chart-line-area {
    height: 120px;
    position: relative;
    flex: 1;
}
.chart-grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #f0f0f0;
}
.chart-line-bar {
    position: absolute;
    bottom: 0;
    width: 3px;
    border-radius: 2px 2px 0 0;
}

/* Donut Chart Mockup */
.donut-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

.donut-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #444;
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

/* Progress Bar Group */
.progress-group {
    margin-top: 10px;
}

.prog-item {
    margin-bottom: 15px;
}

.prog-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}

.prog-bar-bg {
    height: 8px;
    background: #f0f2f5;
    border-radius: 4px;
    overflow: hidden;
}

.prog-bar-fill {
    height: 100%;
    background: #337a8b;
    border-radius: 4px;
}

/* Peta Nasional Dashboard View */
.peta-nasional-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
}

.peta-header {
    background: #337a8b;
    color: white;
    padding: 35px 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.peta-title {
    font-size: 13px;
    font-weight: 800;
}

.year-select {
    background: white;
    color: #333;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.peta-main {
    flex: 1;
    display: flex;
    position: relative;
    overflow: hidden;
}

.peta-sidebar {
    width: 140px;
    background: #f8f9fa;
    border-right: 1px solid #eee;
    padding: 15px 10px;
    z-index: 100;
    overflow-y: auto;
}

.peta-sidebar-dropdown {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 20px;
}

.data-nasional-title {
    font-size: 14px;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.data-nasional-title::before {
    content: 'ⓘ';
    font-size: 10px;
    color: #999;
}

.peta-stat-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.peta-stat-item {
    display: flex;
    flex-direction: column;
}

.peta-stat-label {
    font-size: 10px;
    color: #777;
    font-weight: 600;
    margin-bottom: 2px;
}

.peta-stat-val {
    font-size: 11px;
    font-weight: 800;
    color: #333;
    display: flex;
    justify-content: space-between;
}

.map-view-area {
    flex: 1;
    position: relative;
    background: #eef2f5;
}

.map-legend-overlay {
    position: absolute;
    bottom: 20px;
    left: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}

.legend-title {
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 8px;
}

.legend-bar {
    height: 8px;
    width: 100%;
    background: linear-gradient(to right, #ffd8a8, #ffa94d, #fd7e14);
    border-radius: 4px;
    margin-bottom: 4px;
}

.legend-labels {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 700;
    color: #666;
}

/* Boxy Sub-tabs (New Style) */
.sub-nav-container-boxy {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    padding-bottom: 5px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sub-nav-container-boxy::-webkit-scrollbar { display: none; }

.sub-btn-boxy {
    flex: 1;
    min-width: 100px;
    padding: 12px 8px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #888;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-btn-boxy.active {
    border: 3px solid #1a1a1a; /* Thick black border as seen in image */
    color: #337a8b;
}

/* Monitoring Screen Headers */
.mon-header {
    background: white;
    padding: 40px 20px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #eee;
}

.mon-header .back-btn {
    color: #337a8b;
}

.mon-header-title {
    font-size: 16px;
    font-weight: 800;
    color: #337a8b;
}
