* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    color: #333;
    min-height: 100vh;
    padding: 10px;
}

.container {
    max-width: 500px;
    margin: 20px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.15);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.summary-box {
    text-align: center;
    padding: 20px;
}

.balance-display {
    font-size: 48px;
    font-weight: bold;
    color: #ec4899;
    margin: 15px 0;
}

.balance-label {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reset-info {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.menu-toggle {
    width: 100%;
    background: #fce7f3;
    border: none;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    color: #ec4899;
    font-weight: bold;
    border-bottom: 2px solid #fbcfe8;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: #fbcfe8;
}

.menu-toggle.active {
    background: #ec4899;
    color: white;
}

.menu-section {
    display: none;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
}

.menu-section.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
    overflow: hidden;
}

label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #fce7f3;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #ec4899;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
}

.btn-secondary {
    background: #fce7f3;
    color: #ec4899;
    margin-top: 10px;
}

.btn-secondary:hover {
    background: #fbcfe8;
}

.transaction-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 15px;
}

.transaction-item {
    background: #fce7f3;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.transaction-desc {
    flex: 1;
}

.transaction-amount {
    color: #ec4899;
    font-weight: bold;
    margin-left: 10px;
}

.transaction-image {
    max-width: 80px;
    max-height: 80px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.success-msg {
    background: #d1fae5;
    color: #065f46;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.error-msg {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 24px;
    }
    
    .balance-display {
        font-size: 40px;
    }
}
