body {
    background-color: #f4f7fb;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    background-color: #0a3d62 !important;
}

.navbar-brand, .nav-link {
    color: #ffffff !important;
}

.nav-link:hover {
    color: #a0d2eb !important;
}

.btn-primary {
    background-color: #1e90ff;
    border-color: #1e90ff;
}

.btn-primary:hover {
    background-color: #1a7de0;
    border-color: #1a7de0;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.card-header {
    background-color: #0a3d62;
    color: #ffffff;
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
}

.login-container {
    max-width: 420px;
    margin: 80px auto;
}

.result-table th {
    background-color: #0a3d62;
    color: #ffffff;
}

.badge-active {
    background-color: #28a745;
}

.badge-inactive {
    background-color: #dc3545;
}

.badge-pending {
    background-color: #ffc107;
    color: #333;
}

.calculator-form {
    max-width: 700px;
}

.format-rupiah {
    font-weight: 600;
    color: #0a3d62;
}

.stat-card {
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.footer-text {
    color: #6c757d;
    font-size: 0.85rem;
}

.admin-tabs {
    border-bottom: 2px solid #dee2e6;
    gap: 4px;
}

.admin-tabs .nav-link {
    color: #5f6b7a !important;
    font-weight: 500;
    padding: 10px 18px;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    transition: color 0.2s, border-color 0.2s;
}

.admin-tabs .nav-link:hover {
    color: #1f4e79 !important;
    background-color: rgba(10, 61, 98, 0.05);
    border-bottom-color: #a0d2eb;
}

.admin-tabs .nav-link.active {
    color: #1f4e79 !important;
    font-weight: bold;
    background-color: #ffffff;
    border-bottom: 3px solid #1f4e79;
}

.txn-suggestions-list {
    display: none;
    position: absolute;
    z-index: 1050;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.txn-suggestions-list.show {
    display: block;
}

.txn-suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

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

.txn-suggestion-item:hover,
.txn-suggestion-item.active {
    background-color: #e8f4fd;
    color: #0a3d62;
}

.txn-suggestion-item mark {
    background-color: #ffe066;
    padding: 0;
    border-radius: 2px;
}

.txn-no-result {
    padding: 10px 12px;
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
}

.calc-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 0;
}

.company-logo {
    display: flex;
    align-items: center;
}

.company-logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
    background: none;
}

.company-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-text h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 0.5px;
}

.company-text p {
    margin: 3px 0;
    font-size: 15px;
    color: #6c7a89;
}

.system-tag {
    font-size: 13px;
    color: #3a7bd5;
    font-weight: 600;
    background: linear-gradient(90deg, #eaf3ff, #f6f9ff);
    padding: 2px 8px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .company-logo img {
        height: 65px;
    }
    .company-text h1 {
        font-size: 22px;
    }
    .company-text p {
        font-size: 13px;
    }
}
