:root {
    --primary: #6C63FF;
    --background: #121212;
    --surface: #1E1E1E;
    --text: #FFFFFF;
    --text-secondary: #B0B0B0;
    --success: #4CAF50;
    --danger: #FF5252;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background);
    color: var(--text);
    margin: 0;
    padding: 0;
    padding-bottom: 80px; /* Space for bottom nav if we had one, or just breathing room */
}

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

.card {
    background-color: var(--surface);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

h1, h2, h3 {
    margin: 0 0 15px 0;
    font-weight: 500;
}

.balance-card {
    text-align: center;
    background: linear-gradient(135deg, var(--primary), #8F85FF);
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.btn {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    font-size: 30px;
    line-height: 60px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(108, 99, 255, 0.5);
    z-index: 100;
}

.transaction-list {
    list-style: none;
    padding: 0;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.transaction-info h4 {
    margin: 0;
    font-size: 1rem;
}

.transaction-info p {
    margin: 5px 0 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.amount {
    font-weight: bold;
}

.amount.income {
    color: var(--success);
}

.amount.expense {
    color: var(--danger);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

input, select {
    width: 100%;
    background-color: #2C2C2C;
    border: 1px solid #333;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
}

.type-toggle {
    display: flex;
    gap: 10px;
}

.type-option {
    flex: 1;
    text-align: center;
    padding: 10px;
    background-color: #2C2C2C;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked + .type-option {
    background-color: rgba(108, 99, 255, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}
