/* 🔹 Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* 🔹 Light & Dark Theme */
body {
    background: var(--bg);
    color: var(--text);
    transition: all 0.3s ease-in-out;
}

:root {
    --bg: #f4f4f4;
    --text: #333;
    --primary: #007bff;
    --btn-hover: #0056b3;
}

.dark-mode {
    --bg: #222;
    --text: #fff;
    --primary: #ff6f61;
    --btn-hover: #ff3d2e;
}

/* 🔹 Centered Container */
.container {
    width: 90%;
    max-width: 450px;
    margin: 40px auto;
    padding: 20px;
    background: var(--bg);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

/* 🔹 Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

/* 🔹 Hamburger Menu Button */
.hamburger {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* 🔹 Sidebar Menu */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: var(--primary);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: left 0.3s ease-in-out;
}

.sidebar.open {
    left: 0;
}

.sidebar button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar button:hover {
    background: var(--btn-hover);
    border-radius: 5px;
}

/* 🔹 Forms */
input, select, button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    padding: 10px;
}

button:hover {
    background: var(--btn-hover);
}

/* 🔹 Transaction Dropdown */
select {
    background: white;
    color: #333;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 16px;
    width: 100%;
}

/* 🔹 Footer */
footer {
    margin-top: 20px;
    font-size: 12px;
    color: gray;
}

/* 🔹 Balance Display */
#spBalance {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
}

/* 🔹 Login & Registration Forms */
#root {
    padding: 20px;
    background: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}
