body {
    font-family: 'Pretendard', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 480px;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 25px;
}

.flag {
    width: 32px;
    height: auto;
}

.total-section {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 25px;
}

.total-section p { margin: 0; opacity: 0.8; font-size: 0.9rem; }
.total-section h2 { margin: 8px 0; font-size: 2rem; }
.total-section span { opacity: 0.9; font-size: 1rem; }

.input-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.currency-buttons { display: flex; gap: 10px; }

.currency {
    flex: 1;
    background: #f1f3f4;
    color: #5f6368;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.currency.active { background: #1a73e8; color: white; }

input {
    padding: 14px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.save-btn {
    padding: 14px;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.list-container h3 {
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 12px;
}

ul { list-style: none; padding: 0; margin: 0; }

li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
}

.entry-right { display: flex; align-items: center; gap: 15px; }

.entry-info { display: flex; flex-direction: column; gap: 4px; }
.entry-info strong { font-size: 1rem; color: #333; }
.entry-info span { font-size: 0.8rem; color: #999; }

.entry-amount { text-align: right; font-weight: bold; color: #1a73e8; }
.entry-amount small { color: #70757a; display: block; font-size: 0.85rem; font-weight: normal; }

.delete-btn {
    background: #ffeded;
    color: #d93025;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: bold;
}