body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    padding: 10px;
    display: flex;
    justify-content: center;
}

#app {
    width: 100%;
    max-width: 600px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 2px;
    margin-bottom: 5px;
}

header h1 {
    font-size: 0.8rem;
    margin: 0;
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#user-info {
    display: flex;
    align-items: center;
    gap: 5px;
}

#user-email {
    display: none; /* E-postayı tamamen gizledik, yer kaplamasın */
}

#logout-btn {
    background-color: transparent;
    color: #999;
    width: auto;
    padding: 2px 4px;
    font-size: 0.6rem;
    margin: 0;
    border: 1px solid #eee;
    font-weight: normal;
    border-radius: 3px;
}

.hidden {
    display: none !important;
}

section {
    margin-bottom: 20px;
}

input, select, button {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #218838;
}

.summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff5f5;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #feb2b2;
    margin-bottom: 15px;
    gap: 8px;
}

.month-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.month-navigation button {
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    background-color: transparent;
    color: #28a745;
    border: 1px solid #28a745;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}

#current-month-display {
    margin: 0;
    font-size: 1rem;
    min-width: 110px;
    text-align: center;
    color: #333;
    font-weight: bold;
}

#monthly-total {
    font-size: 1.3rem;
    font-weight: bold;
    color: #dc3545;
    text-align: center;
    background: transparent;
    padding: 0;
    border: none;
    margin-top: 0;
    white-space: nowrap;
}

.installment-item {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 15px;
    border: 1px solid #888;
    width: 90%;
    max-width: 350px;
    border-radius: 8px;
}

.close {
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8em;
    color: #999;
}

#other-apps-btn {
    background-color: #673ab7;
}
