:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --accent-color: #4caf50; /* Money green */
    --accent-hover: #45a049;
    --input-bg: #2d2d2d;
    --border-color: #333;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 600px;
}

h1 {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 30px;
}

h2 {
    font-size: 1.2rem;
    margin-top: 0;
}

/* Tabs */
.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: #888;
    padding: 15px;
    font-size: 1rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-btn.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    font-weight: bold;
}

.tab-content {
    display: none;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #aaa;
}

input {
    width: 100%;
    padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    box-sizing: border-box; /* Important for padding */
}

input:focus {
    outline: none;
    border-color: var(--accent-color);
}

button {
    width: 100%;
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

button:active {
    transform: scale(0.98);
}

/* Results */
.result {
    margin-top: 20px;
    padding: 15px;
    background: #252525;
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    display: none;
    line-height: 1.6;
}

.highlight {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}
