body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ecf0f1;
}

.dashboard {
    display: flex;
    width: 80%;
    max-width: 1200px;
    margin-top: 20px;
    gap: 20px;
}

.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    height: 100vh;
    border-radius: 10px;
}

.sidebar h2 {
    margin-bottom: 20px;
    text-align: center;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar ul li a {
    padding: 10px;
    cursor: pointer;
    text-align: center;
    color: #fff;
    text-decoration: none;
}

.sidebar ul li a:hover {
    background-color: #34495e;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats {
    display: flex;
    gap: 20px;
    justify-content: space-around;
    margin-bottom: 20px;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 150px;
    text-align: center;
}

.recent-transactions {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.recent-transactions ul {
    list-style: none;
    padding: 0;
}

.recent-transactions ul li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.recent-transactions ul li:last-child {
    border-bottom: none;
}

/* Transaction Form */
.transaction-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    text-align: center;
}

.transaction-form input {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.transaction-form button {
    padding: 10px 15px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    width: 100%;
    margin-top: 10px;
}

.transaction-form button:hover {
    background-color: #219150;
}

/* All Transaction */

.all-transaction{
    display: flex;
    width: 80%;
    max-width: 1200px;
    margin-top: 20px;
    gap: 20px;
}

.cards{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 16px;
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

.card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.card small {
    font-weight: bold;
    color: #27ae60;
    font-size: 14px;
}
