.keuangan-toko-frontend {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    color: #333;
}

.keuangan-toko-frontend h2 {
    color: #004AAD;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Navigation */
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.nav-btn {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #555;
    text-decoration: none;
}

.nav-btn:hover {
    background-color: #e0e0e0;
}

.nav-btn.active {
    background-color: #004AAD;
    color: white;
}

/* Page Content */
.page-content {
    display: none;
    background-color: #fafafa;
    padding: 20px;
    border-radius: 8px;
    min-height: 400px;
}

.page-content.active {
    display: block;
}

/* Input Columns */
.input-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.input-column {
    flex: 1;
    min-width: 300px;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.card-header {
    background-color: #004AAD;
    color: white;
    padding: 15px 20px;
    font-weight: bold;
    text-align: center;
}

.card-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #444;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #004AAD;
    box-shadow: 0 0 0 2px rgba(0, 74, 173, 0.1);
}

.input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-prefix {
    position: absolute;
    left: 10px;
    color: #777;
    pointer-events: none;
}

.input-with-prefix input {
    padding-left: 35px;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #004AAD;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #003075;
}

/* Success/Error Messages */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    text-align: center;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    text-align: center;
}

/* Report Controls */
.report-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.report-btn {
    padding: 10px 15px;
    background-color: #004AAD;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.report-btn:hover {
    background-color: #003075;
}

/* Report Summary */
.report-summary {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #004AAD;
}

.report-summary h4 {
    margin-top: 0;
    color: #004AAD;
    font-weight: 600;
}

.report-summary p {
    margin: 5px 0;
    font-size: 16px;
}

/* Chart */
canvas {
    max-height: 300px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: white;
}

/* Report Table */
.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.report-table th, .report-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.report-table th {
    background-color: #004AAD;
    color: white;
    font-weight: 600;
}

.report-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.report-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .input-columns {
        flex-direction: column;
    }

    .nav-buttons {
        flex-wrap: wrap;
    }

    .report-controls {
        flex-direction: column;
        align-items: stretch;
    }
}