body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f5f5;
}

.container{
    max-width:500px;
    margin:auto;
    padding:20px;
}

h1{
    text-align:center;
}

.card{
    background:white;
    border-radius:12px;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 2px 6px rgba(0,0,0,.1);
}

.amount{
    font-size:32px;
    font-weight:bold;
}

button{
    width:100%;
    padding:12px;
    font-size:20px;
    border:none;
    border-radius:12px;
    cursor:pointer;
}

input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    box-sizing: border-box;
}

label{
    display:block;
    margin:15px 0 6px;
    font-weight:bold;
}

input{
    width:100%;
    padding:12px;
    font-size:16px;
    box-sizing:border-box;
    border:1px solid #ccc;
    border-radius:8px;
    margin-bottom:10px;
}

button{
    margin-top:15px;
    background:#007AFF;
    color:white;
}

button.secondary{
    background:#888;
}

select{
    width:100%;
    padding:12px;
    font-size:16px;
    box-sizing:border-box;
    border:1px solid #ccc;
    border-radius:8px;
    margin-bottom:10px;
    background:white;
}

.button-row{
    display:flex;
    gap:10px;
}

.button-row button{
    width:100%;
}

.fixed-expense-item{
    padding:15px 0;
    border-bottom:1px solid #ddd;
    margin-bottom:15px;
}

.history-actions button {
    padding: 5px 10px;
    font-size: 0.9rem;
    min-width: 70px;
}

.pagination-button {
    width: auto;
    min-width: 0;
    padding: 6px 8px;
    font-size: 0.85rem;
}

.pagination-button:disabled {
    opacity: 0.5;
    cursor: default;
}

.home-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 20px;

}

.home-grid button {

    width: 100%;

    margin: 0;

    min-height: 52px;
    font-size: 16px;
padding: 8px;
min-height: 56px;
line-height: 1.2;

}

.list-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 12px 0;

    border-bottom: 1px solid #ddd;

}

.list-left {

    flex: 1;

}

.list-right {

    display: flex;

    gap: 8px;

}

.home-summary {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-bottom: 20px;

}

.home-summary .card {

    margin-bottom: 0;

}

.home-summary .card h2 {

    font-size: 20px;

    margin-top: 0;

}

.home-summary .amount {

    font-size: 28px;

}

