/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
}

.app-container {
    max-width: 400px;
    margin: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: white;
    overflow: hidden;
}

.app-header {
    background-color: #6a1b9a;
    color: white;
    padding: 10px;
    text-align: center;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.slideshow .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow .slide.active {
    opacity: 1;
}

.app-menu {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #ddd;
}

.app-menu button {
    padding: 10px 20px;
    background: #6a1b9a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Transaction List with Cards */
.transaction-list {
    padding: 15px;
    background: #f9f9f9;
	padding-bottom: 80px; /* Tambahkan ruang ekstra untuk footer */
}

.transaction-list h2 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #333;
}

.transaction-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.transaction-card:hover {
    transform: scale(1.02);
}

.transaction-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    padding: 5px;
}

.transaction-details {
    flex: 1;
    margin-left: 15px;
}

.transaction-title {
    font-weight: bold;
    margin: 0;
    color: #444;
}

.transaction-date {
    font-size: 0.9em;
    color: #666;
    margin: 5px 0 0 0;
}

.transaction-amount {
    font-weight: bold;
    font-size: 1em;
}

.transaction-amount.positive {
    color: #2e7d32;
}

.transaction-amount.negative {
    color: #c62828;
}

/* Footer Navigation Styles */
.bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #6a1b9a;
    padding: 5px 0; /* Dikurangi 25% dari padding awal */
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-item {
    text-align: center;
    color: white;
    font-size: 12px; /* Ukuran teks sedikit diperkecil */
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.nav-item:hover {
    transform: scale(1.1);
}

.nav-icon {
    font-size: 16px; /* Ukuran ikon diperkecil */
    display: block;
}

.nav-label {
    margin-top: 5px;
    font-size: 12px;
}
