/* CSS yang sudah ada tetap dipertahankan */
:root {
    --primary: #2e7d32;
    --primary-light: #4caf50;
    --primary-dark: #1b5e20;
    --secondary: #ff9800;
    --accent: #8bc34a;
    --info: #2196F3;
    --info-dark: #0b7dda;
    --danger: #f44336;
    --text: #333;
    --text-light: #666;
    --light: #f5f5f5;
    --white: #ffffff;
    --card-bg: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* PERBAIKAN RESPONSIF UNTUK LAPTOP - TAMBAHAN BARU */
@media (min-width: 768px) and (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
    
    .btn, .form-control {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .form-row .form-group {
        flex: 1;
    }
    
    .form-row {
        justify-content: center;
    }
    
    .card {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .kebun-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* TOMBOL KEMBALI KE DASHBOARD - TAMBAHAN BARU */
.back-to-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--info);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 1rem;
    text-decoration: none;
}

.back-to-dashboard:hover {
    background: var(--info-dark);
    transform: translateY(-2px);
}

/* HEADER STYLES */
header {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    width: 100%;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.8rem;
}

.logo h1 {
    font-size: 1.3rem;
    font-weight: 700;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.datetime {
    text-align: center;
    margin-top: 0.5rem;
}

.datetime #current-date {
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.datetime #current-time {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* SIDEBAR MENU */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--white);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
    padding: 1rem;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.menu-items {
    list-style: none;
}

.menu-item {
    margin-bottom: 0.5rem;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
}

.menu-link:hover, .menu-link.active {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary);
}

.menu-link i {
    width: 20px;
    text-align: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* MAIN CONTENT */
.page {
    display: none;
    animation: fadeIn 0.3s ease;
    width: 100%;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: var(--transition);
    height: 100%;
    width: 100%;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title i {
    color: var(--secondary);
}

.card-action {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-action:hover {
    text-decoration: underline;
}

/* Data Petani Card */
.petani-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-label {
    font-weight: 600;
    color: var(--text-light);
}

.info-value {
    color: var(--text);
    text-align: right;
}

/* Jadwal Hari Ini */
.jadwal-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jadwal-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid var(--accent);
    position: relative;
}

.jadwal-time {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.jadwal-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.jadwal-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

.jadwal-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.jadwal-done {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.jadwal-done:hover {
    background: var(--primary-dark);
}

/* Kebun List */
.kebun-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .kebun-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kebun-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.kebun-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.kebun-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.kebun-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.kebun-plant {
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.kebun-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kebun-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.kebun-label {
    color: var(--text-light);
}

.kebun-value {
    font-weight: 600;
}

.usia-tanaman {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Laporan Rugi Laba */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    padding: 1.25rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

/* PERUBAHAN: Kartu Total Pengeluaran Menjadi Merah */
.stat-card-pengeluaran {
    background: linear-gradient(135deg, #f44336, #d32f2f) !important;
    color: white;
}

.stat-card-pengeluaran .stat-label,
.stat-card-pengeluaran .stat-value {
    color: white !important;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0.5rem 0;
    word-break: break-word;
    padding: 0 0.5rem;
    text-align: center;
    line-height: 1.3;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.laba-rugi {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: #f9f9f9;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    background: white;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    width: 100%;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--secondary);
}

.btn-secondary:hover {
    background: #e68900;
}

.btn-info {
    background: var(--info);
}

.btn-info:hover {
    background: var(--info-dark);
}

.btn-danger {
    background: var(--danger);
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(46, 125, 50, 0.1);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    width: auto;
}

.hidden {
    display: none;
}

/* Kalkulator Bibit */
.calc-container {
    background: #f0f7f0;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.calc-result {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.radio-option {
    flex: 1;
}

.radio-option input {
    display: none;
}

.radio-option label {
    display: block;
    padding: 0.75rem;
    text-align: center;
    background: #f0f0f0;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.radio-option input:checked + label {
    background: var(--primary);
    color: white;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 1000;
    transform: translateX(150%);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: #f44336;
}

.notification.info {
    background: #2196f3;
}

.notification.warning {
    background: #ff9800;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    color: var(--primary-dark);
    font-size: 0.9rem;
    width: 100%;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-actions .btn {
    flex: 1;
}

/* Chart Styles */
#chart-laba-tahunan-container, #chart-pie-container {
    padding: 1rem;
    height: 300px;
    position: relative;
}

/* Perbaikan responsive design */
@media (max-width: 768px) {
    .stat-value {
        font-size: 1.1rem;
    }
    
    .card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .dashboard-grid {
        gap: 1rem;
        padding: 0.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Data old indicator */
.data-old {
    opacity: 0.6;
    position: relative;
}

.data-old::after {
    content: "DATA LAMA";
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff6b6b;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Format input untuk angka dengan titik */
.form-control.rupiah-input {
    text-align: right;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

/* Tampilan angka yang sudah diformat */
.rupiah-formatted {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Warna untuk laba dan rugi */
.laba-positive {
    color: #4caf50 !important;
    font-weight: 700;
}

.laba-negative {
    color: #f44336 !important;
    font-weight: 700;
}

/* Perbaikan tampilan stat card untuk angka panjang */
.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0.5rem 0;
    word-break: break-word;
    padding: 0 0.5rem;
    text-align: center;
    line-height: 1.3;
    font-family: 'Courier New', monospace;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Untuk angka yang sangat panjang */
.stat-value.long-number {
    font-size: 1.1rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .stat-value {
        font-size: 1.1rem;
    }
    
    .stat-value.long-number {
        font-size: 1rem;
    }
} 

/* Warna putih untuk semua teks di card laba-rugi */
.laba-rugi .stat-value {
    color: #ffffff !important;
    font-weight: 700;
}

/* Modal Popup Tambah Kebun */
.modal-kebun {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-kebun.active {
    opacity: 1;
    visibility: visible;
}

.modal-kebun-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-kebun.active .modal-kebun-content {
    transform: translateY(0);
}

.modal-kebun-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.modal-kebun-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2e7d32;
}

.close-modal-kebun {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
}

.modal-kebun-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-kebun-actions .btn {
    flex: 1;
}

.jarak-tanam-container {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.jarak-tanam-inputs {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.jarak-tanam-inputs .form-group {
    flex: 1;
}

.jarak-tanam-satuan {
    flex: 0 0 100px;
}

.jarak-tanam-satuan .radio-group {
    display: flex;
    gap: 0.5rem;
}

.jarak-tanam-satuan .radio-option {
    flex: 1;
}

.jarak-tanam-satuan .radio-option input {
    display: none;
}

.jarak-tanam-satuan .radio-option label {
    display: block;
    padding: 0.5rem;
    text-align: center;
    background: #f0f0f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.jarak-tanam-satuan .radio-option input:checked + label {
    background: #2e7d32;
    color: white;
}

/* Modal Detail Kebun */
.modal-detail-kebun {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-detail-kebun.active {
    opacity: 1;
    visibility: visible;
}

.modal-detail-kebun-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-detail-kebun.active .modal-detail-kebun-content {
    transform: translateY(0);
}

.modal-detail-kebun-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.modal-detail-kebun-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2e7d32;
}

.close-modal-detail-kebun {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
}

.detail-kebun-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.detail-kebun-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-kebun-label {
    font-weight: 600;
    color: #666;
}

.detail-kebun-value {
    color: #333;
    text-align: right;
}

/* Filter Laporan Styles */
.filter-info {
    background: #e8f5e9;
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}

.filter-info-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.filter-info-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

.data-count {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.chart-container {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow);
}

.chart-placeholder {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.chart-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

/* Countdown Timer Styles */
.countdown-timer {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #ffeb3b;
    color: #333;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.countdown-urgent {
    background: #ff6b6b;
    color: white;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.jadwal-time-remaining {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}
/* CSS yang sudah ada tetap dipertahankan */
:root {
    --primary: #2e7d32;
    --primary-light: #4caf50;
    --primary-dark: #1b5e20;
    --secondary: #ff9800;
    --accent: #8bc34a;
    --info: #2196F3;
    --info-dark: #0b7dda;
    --danger: #f44336;
    --text: #333;
    --text-light: #666;
    --light: #f5f5f5;
    --white: #ffffff;
    --card-bg: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* PERBAIKAN RESPONSIF UNTUK LAPTOP - TAMBAHAN BARU */
@media (min-width: 768px) and (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
    
    .btn, .form-control {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .form-row .form-group {
        flex: 1;
    }
    
    .form-row {
        justify-content: center;
    }
    
    .card {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .kebun-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* TOMBOL KEMBALI KE DASHBOARD - TAMBAHAN BARU */
.back-to-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--info);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 1rem;
    text-decoration: none;
}

.back-to-dashboard:hover {
    background: var(--info-dark);
    transform: translateY(-2px);
}

/* HEADER STYLES */
header {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    width: 100%;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.8rem;
}

.logo h1 {
    font-size: 1.3rem;
    font-weight: 700;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.datetime {
    text-align: center;
    margin-top: 0.5rem;
}

.datetime #current-date {
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.datetime #current-time {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* SIDEBAR MENU */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--white);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
    padding: 1rem;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.menu-items {
    list-style: none;
}

.menu-item {
    margin-bottom: 0.5rem;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
}

.menu-link:hover, .menu-link.active {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary);
}

.menu-link i {
    width: 20px;
    text-align: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* MAIN CONTENT */
.page {
    display: none;
    animation: fadeIn 0.3s ease;
    width: 100%;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: var(--transition);
    height: 100%;
    width: 100%;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title i {
    color: var(--secondary);
}

.card-action {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-action:hover {
    text-decoration: underline;
}

/* Data Petani Card */
.petani-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-label {
    font-weight: 600;
    color: var(--text-light);
}

.info-value {
    color: var(--text);
    text-align: right;
}

/* Jadwal Hari Ini */
.jadwal-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jadwal-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid var(--accent);
    position: relative;
}

.jadwal-time {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.jadwal-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.jadwal-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

.jadwal-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.jadwal-done {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.jadwal-done:hover {
    background: var(--primary-dark);
}

/* Kebun List */
.kebun-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .kebun-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kebun-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.kebun-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.kebun-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.kebun-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.kebun-plant {
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.kebun-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kebun-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.kebun-label {
    color: var(--text-light);
}

.kebun-value {
    font-weight: 600;
}

.usia-tanaman {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Laporan Rugi Laba */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    padding: 1.25rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

/* PERUBAHAN: Kartu Total Pengeluaran Menjadi Merah */
.stat-card-pengeluaran {
    background: linear-gradient(135deg, #f44336, #d32f2f) !important;
    color: white;
}

.stat-card-pengeluaran .stat-label,
.stat-card-pengeluaran .stat-value {
    color: white !important;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0.5rem 0;
    word-break: break-word;
    padding: 0 0.5rem;
    text-align: center;
    line-height: 1.3;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.laba-rugi {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: #f9f9f9;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    background: white;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    width: 100%;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--secondary);
}

.btn-secondary:hover {
    background: #e68900;
}

.btn-info {
    background: var(--info);
}

.btn-info:hover {
    background: var(--info-dark);
}

.btn-danger {
    background: var(--danger);
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(46, 125, 50, 0.1);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    width: auto;
}

.hidden {
    display: none;
}

/* Kalkulator Bibit */
.calc-container {
    background: #f0f7f0;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.calc-result {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.radio-option {
    flex: 1;
}

.radio-option input {
    display: none;
}

.radio-option label {
    display: block;
    padding: 0.75rem;
    text-align: center;
    background: #f0f0f0;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.radio-option input:checked + label {
    background: var(--primary);
    color: white;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 1000;
    transform: translateX(150%);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: #f44336;
}

.notification.info {
    background: #2196f3;
}

.notification.warning {
    background: #ff9800;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    color: var(--primary-dark);
    font-size: 0.9rem;
    width: 100%;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-actions .btn {
    flex: 1;
}

/* Chart Styles */
#chart-laba-tahunan-container, #chart-pie-container {
    padding: 1rem;
    height: 300px;
    position: relative;
}

/* Perbaikan responsive design */
@media (max-width: 768px) {
    .stat-value {
        font-size: 1.1rem;
    }
    
    .card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .dashboard-grid {
        gap: 1rem;
        padding: 0.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Data old indicator */
.data-old {
    opacity: 0.6;
    position: relative;
}

.data-old::after {
    content: "DATA LAMA";
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff6b6b;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Format input untuk angka dengan titik */
.form-control.rupiah-input {
    text-align: right;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

/* Tampilan angka yang sudah diformat */
.rupiah-formatted {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Warna untuk laba dan rugi */
.laba-positive {
    color: #4caf50 !important;
    font-weight: 700;
}

.laba-negative {
    color: #f44336 !important;
    font-weight: 700;
}

/* Perbaikan tampilan stat card untuk angka panjang */
.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0.5rem 0;
    word-break: break-word;
    padding: 0 0.5rem;
    text-align: center;
    line-height: 1.3;
    font-family: 'Courier New', monospace;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Untuk angka yang sangat panjang */
.stat-value.long-number {
    font-size: 1.1rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .stat-value {
        font-size: 1.1rem;
    }
    
    .stat-value.long-number {
        font-size: 1rem;
    }
} 

/* Warna putih untuk semua teks di card laba-rugi */
.laba-rugi .stat-value {
    color: #ffffff !important;
    font-weight: 700;
}

/* Modal Popup Tambah Kebun */
.modal-kebun {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-kebun.active {
    opacity: 1;
    visibility: visible;
}

.modal-kebun-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-kebun.active .modal-kebun-content {
    transform: translateY(0);
}

.modal-kebun-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.modal-kebun-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2e7d32;
}

.close-modal-kebun {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
}

.modal-kebun-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-kebun-actions .btn {
    flex: 1;
}

.jarak-tanam-container {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.jarak-tanam-inputs {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.jarak-tanam-inputs .form-group {
    flex: 1;
}

.jarak-tanam-satuan {
    flex: 0 0 100px;
}

.jarak-tanam-satuan .radio-group {
    display: flex;
    gap: 0.5rem;
}

.jarak-tanam-satuan .radio-option {
    flex: 1;
}

.jarak-tanam-satuan .radio-option input {
    display: none;
}

.jarak-tanam-satuan .radio-option label {
    display: block;
    padding: 0.5rem;
    text-align: center;
    background: #f0f0f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.jarak-tanam-satuan .radio-option input:checked + label {
    background: #2e7d32;
    color: white;
}

/* Modal Detail Kebun */
.modal-detail-kebun {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-detail-kebun.active {
    opacity: 1;
    visibility: visible;
}

.modal-detail-kebun-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-detail-kebun.active .modal-detail-kebun-content {
    transform: translateY(0);
}

.modal-detail-kebun-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.modal-detail-kebun-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2e7d32;
}

.close-modal-detail-kebun {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
}

.detail-kebun-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.detail-kebun-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-kebun-label {
    font-weight: 600;
    color: #666;
}

.detail-kebun-value {
    color: #333;
    text-align: right;
}

/* Filter Laporan Styles */
.filter-info {
    background: #e8f5e9;
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}

.filter-info-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.filter-info-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

.data-count {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.chart-container {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow);
}

.chart-placeholder {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.chart-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

/* Countdown Timer Styles */
.countdown-timer {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #ffeb3b;
    color: #333;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.countdown-urgent {
    background: #ff6b6b;
    color: white;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.jadwal-time-remaining {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Styling untuk halaman hitung ubinan */
.hitung-ubinan-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #666;
}

.hasil-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hasil-item:last-child {
    border-bottom: none;
}

.hasil-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.hasil-value {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: right;
}

/* Styling khusus untuk hasil ubinan */
.calc-result {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: left;
    margin-top: 1.5rem;
    font-weight: 600;
}

.calc-result .form-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin-top: 0.1rem;
}
