/* Farbvariablen */
:root {
    --primary-color: #ff4d4d;
    --primary-hover: #ff7c7c;
    --background-color: #eee;
    --text-color: #333;
    --error-bg: #f8d7da;
    --error-text: #721c24;
    --error-border: #f5c6cb;
    --success-bg: #d4edda;
    --success-text: #155724;
    --success-border: #c3e6cb;
}

/* General */
body {
    font-family: sans-serif;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

/* Container & Layout */
.container {
    max-width: 400px;
    margin: 20px auto;
    font-family: sans-serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header h1 {
    margin: 0;
}

.header-icons a,
.header-icons a:visited {
    color: black !important;
    text-decoration: none;
    white-space: nowrap;
}

.header-icons a:hover {
    color: var(--primary-color) !important;
}

.box {
    background: var(--background-color);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Forms & Inputs */
input {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
}

.balance {
    width: 120px;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
}

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

button:hover {
    background-color: var(--primary-hover);
}

/* Alerts */
.alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.error {
    background-color: var(--error-bg);
    color: var(--error-text);
    border: 1px solid var(--error-border);
}

.success {
    background-color: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

/* Links */
.back-link {
    display: block;
    margin-top: 15px;
    color: var(--text-color);
    font-size: 0.9em;
}