/* This CSS file is designed to create a dark mode theme for a web application. It includes styles for various components such as cards, buttons, and notifications, ensuring a cohesive and modern look. The use of CSS variables allows for easy customization of colors and other properties throughout the application. */
:root {
    --bg-dark: #000000;
    --panel-bg: #1c1c1e;
    --card-bg: #2c2c2e;
    --accent: #0a84ff;
    --accent-light: #5ac8fa;
    --text: #f5f5f7;
    --text-secondary: #98989d;
    --success: #30d158;
    --warning: #ff9f0a;
    --danger: #ff453a;
    --neutral: #8e8e93;
    --border-radius: 12px;
    --box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-text {
    background-color: var(--panel-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text);
    text-align: justify;
}

.donation-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent);
    color: var(--text);
    text-decoration: none;
    font-weight: bold;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.1rem;
}

.donation-link:hover {
    background-color: var(--accent-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.05); /* Subtle zoom effect on hover */
}

.donation-link:active {
    transform: scale(0.98); /* Slightly shrink when clicked */
}


.donation-info {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: justify;
}

.donation-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.donation-info a:hover {
    color: var(--accent-light);
    transform: scale(1.05); /* Subtle zoom effect on hover */
}

.donation-info li {
    margin-bottom: 15px;
}

.donation-info p {
    margin: 0;
    color: var(--text-secondary);
}

.donation-info p:first-of-type {
    font-weight: bold;
}

/* Enhance overall container */
ul {
    list-style-type: none; /* Remove default list style */
    padding-left: 0;
}

ul li {
    padding-left: 20px;
    position: relative;
}

ul li:before {
    content: '\2022'; /* Unicode for bullet point */
    font-size: 20px;
    position: absolute;
    left: 0;
    color: var(--accent);
}

.donation-info {
    border-left: 5px solid var(--accent); /* Add a colorful left border */
    padding-left: 25px;
}

.donation-info a {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--accent);
    color: var(--text);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.donation-info a:hover {
    background-color: var(--accent-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    padding: 20px;
    background-color: rgba(28, 28, 30, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

main {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background-color: var(--panel-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-top: 20px;     /* Abstand oben */
    margin-bottom: 20px;  /* Abstand unten */
}

.card:hover {
    transform: translateY(-5px);
}

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

.card-title {
    font-size: 18px;
    font-weight: 600;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}


.mood-card .card-icon {
    background: linear-gradient(135deg, #ff9500, #ff2d55);
}

.quote-card .card-icon {
    background: linear-gradient(135deg, #5ac8fa, #0a84ff);
}

.activity-card .card-icon {
    background: linear-gradient(135deg, #30d158, #00c7be);
}

.password-card .card-icon {
    background: linear-gradient(135deg, #bf5af2, #ff375f);
}

.timer-card .card-icon {
    background: linear-gradient(135deg, #ffcc00, #ff9500);
}

.notes-card .card-icon {
    background: linear-gradient(135deg, #64d2ff, #5e5ce6);
}

.card-content {
    margin-bottom: 16px;
}

.mood-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.mood-button {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mood-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.mood-button:active {
    transform: scale(0.95);
}

.mood-stats {
    margin-top: 20px;
    height: 40px;
    display: flex;
    align-items: flex-end;
}

.mood-bar {
    flex: 1;
    margin: 0 2px;
    border-radius: 4px 4px 0 0;
    background-color: var(--accent);
    transition: height 0.5s;
}

.quote-box {
    padding: 16px;
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 16px;
    position: relative;
}

.quote-text {
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.5;
}

.quote-author {
    font-weight: 500;
    text-align: right;
    color: var(--text-secondary);
}

.quote-refresh {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.quote-refresh:hover {
    text-decoration: underline;
}

.quote-refresh svg {
    margin-right: 6px;
}

.activity-list {
    list-style: none;
}

.activity-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-details {
    display: flex;
    align-items: center;
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    background-color: var(--card-bg);
    color: var(--accent);
}

.activity-info h4 {
    font-weight: 500;
    margin-bottom: 4px;
}

.activity-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

.activity-time {
    font-size: 14px;
    color: var(--text-secondary);
}

.password-generator {
    margin-bottom: 20px;
}

.password-display {
    background-color: var(--card-bg);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    color: var(--text);
}

.password-display span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-button {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
}

.password-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-label {
    display: flex;
    flex-direction: column;
}

.option-description {
    font-size: 14px;
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--accent);
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.password-length {
    display: flex;
    align-items: center;
    gap: 10px;
}

.length-display {
    width: 40px;
    text-align: center;
    font-weight: 500;
}

.slider {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
}

.generate-button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 16px;
}

.generate-button:hover {
    background-color: #0071e3;
}

.generate-button:active {
    transform: scale(0.98);
}

.timer-display {
    text-align: center;
    font-size: 48px;
    font-weight: 300;
    margin: 20px 0;
    font-variant-numeric: tabular-nums;
}

.timer-display-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    margin-bottom: 10px;
}

.timer-status-icon {
    font-size: 20px;
    color: #a0aec0;
}


.timer-buttons {
    display: flex;
    gap: 10px;
}

.timer-button {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.start-button {
    background-color: var(--success);
    color: white;
}

.pause-button {
    background-color: var(--warning);
    color: white;
}

.reset-button {
    background-color: var(--danger);
    color: white;
}

.timer-button:hover {
    filter: brightness(1.1);
}

.timer-button:active {
    transform: scale(0.98);
}

.timer-presets {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.preset-button {
    flex: 1;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.preset-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.notes-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.note-item {
    padding: 10px;
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.note-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.note-item.active {
    border: 1px solid var(--accent);
}

.note-title {
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}

.note-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.note-preview {
    font-size: 14px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.note-editor {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.note-input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--card-bg);
    color: var(--text);
}

.note-input:focus {
    outline: 1px solid var(--accent);
}

textarea.note-input {
    resize: none;
    height: 100px;
}

.note-actions {
    display: flex;
    gap: 8px;
}

.note-button {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.save-button {
    background-color: var(--accent);
    color: white;
}

.save-button:hover {
    background-color: #0071e3;
}

.delete-button {
    background-color: var(--danger);
    color: white;
}

.delete-button:hover {
    background-color: #e1453a;
}

.clear-button {
    background-color: var(--neutral);
    color: white;
}

.clear-button:hover {
    background-color: #7a7a7f;
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s;
    opacity: 0;
    z-index: 100;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-success {
    background-color: var(--success);
    color: white;
}

.notification-info {
    background-color: var(--accent);
    color: white;
}

.notification-warning {
    background-color: var(--warning);
    color: white;
}

.notification-error {
    background-color: var(--danger);
    color: white;
}

@media (max-width: 600px) {
    .container {
        grid-template-columns: 1fr;
    }
}

.welcome-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s ease-out;
}

.welcome-logo {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.welcome-loading {
    width: 100px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.welcome-loading:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background-color: var(--accent);
    border-radius: 3px;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -30%; }
    100% { left: 100%; }
}

/* Allgemeine Stile für neue Karten */
.weather-card,
.todo-card,
.calendar-card,


.expenses-card {
    width: 100%;
}

.water-card {
    margin-bottom: 20px;
}

/* Wetter-Widget Stile */
.weather-input {
    display: flex;
    margin-bottom: 15px;
}


.weather-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

.weather-input button {
    padding: 8px 15px;
    background-color: #4299e1;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.weather-display {
    display: flex;
    align-items: center;
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 15px;
}

.weather-icon {
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4299e1;
}

.weather-info {
    margin-left: 15px;
}

.weather-info .temp {
    font-size: 28px;
    font-weight: bold;
    color: #4a5568;
    margin: 0;
}

.weather-info .location {
    font-size: 16px;
    margin: 5px 0;
    color: #4a5568;
}

.weather-info .description {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

/* ToDo-Liste Stile */
.todo-input {
    display: flex;
    margin-bottom: 15px;
}

.todo-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

.todo-input button {
    padding: 8px 15px;
    background-color: #48bb78;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.todo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    max-height: 250px;
    overflow-y: auto;
}

.todo-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #edf2f7;
}

.todo-item:last-child {
    border-bottom: none;
}

.todo-item input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #718096;
    border-radius: 4px;
    background-color: #1a202c; /* Dark background */
    cursor: pointer;
    position: relative;
    margin-right: 10px;
}

.todo-item input[type="checkbox"]:checked {
    background-color: #48bb78;
    border-color: #48bb78;
    margin-right: 10px;
}

.todo-item input[type="checkbox"]:checked::after {
    content: '✔';
    color: white;
    font-size: 12px;
    position: absolute;
    top: 0;
    left: 3px;
    margin-right: 10px;
}


.todo-item span {
    flex: 1;
    font-size: 14px;
}

.todo-item.completed span {
    text-decoration: line-through;
    color: #a0aec0;
}

.delete-todo {
    background: none;
    border: none;
    color: #e53e3e;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
}

.todo-actions button {
    background-color: transparent;
    border: none;
    color: #4299e1;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}

.todo-actions #tasksLeft {
    font-size: 13px;
    color: #718096;
}

/* Kalender Stile */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #4a5568;
}

.calendar-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.weekday {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #718096;
    padding: 5px;
}

.day {
    position: relative;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
}

.day:hover {
    background-color: #edf2f7;
}

.day.empty {
    cursor: default;
}

.day.selected {
    background-color: #4299e1;
    color: white;
}

.day.today {
    font-weight: bold;
    border: 1px solid #4299e1;
}

.event-marker {
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    background-color: #ed8936;
    border-radius: 50%;
}

.event-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4a5568;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
}

.day:hover .event-tooltip {
    opacity: 1;
}

.event-form {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #edf2f7;
}

.event-form input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
}

.event-form button {
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}

.event-form button:first-of-type {
    background-color: #4299e1;
    color: white;
    margin-right: 8px;
}

.event-form button:last-of-type {
    background-color: #e2e8f0;
    color: #4a5568;
}

/* Ausgabentracker Stile */
.expense-input {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.expense-input input, 
.expense-input select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 14px;
}

.expense-input button {
    grid-column: span 2;
    padding: 8px 15px;
    background-color: #805ad5;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 5px;
}

.expense-summary {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.expense-total {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #4a5568;
    margin-bottom: 15px;
}

.expense-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100px;
    margin-bottom: 10px;
}

.chart-bar {
    width: 18%;
    min-height: 5px;
    border-radius: 3px 3px 0 0;
    transition: height 0.3s;
}

.chart-bar.lebensmittel { background-color: #48bb78; }
.chart-bar.transport { background-color: #4299e1; }
.chart-bar.wohnen { background-color: #805ad5; }
.chart-bar.freizeit { background-color: #ed8936; }
.chart-bar.sonstiges { background-color: #a0aec0; }

.expense-labels {
    display: flex;
    justify-content: space-between;
}

.expense-labels .label {
    font-size: 11px;
    color: #4a5568;
    text-align: center;
    width: 18%;
}

.expense-labels .label.lebensmittel::before { background-color: #48bb78; }
.expense-labels .label.transport::before { background-color: #4299e1; }
.expense-labels .label.wohnen::before { background-color: #805ad5; }
.expense-labels .label.freizeit::before { background-color: #ed8936; }
.expense-labels .label.sonstiges::before { background-color: #a0aec0; }

.expense-labels .label::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}

.expense-list {
    max-height: 200px;
    overflow-y: auto;
}

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

.expense-item:last-child {
    border-bottom: none;
}

.expense-info {
    display: flex;
    flex-direction: column;
}

.expense-desc {
    font-size: 14px;
}

.expense-date {
    font-size: 12px;
    color: #718096;
}

.expense-amount {
    font-weight: bold;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 5px;
}

.expenseAmount {
    font-weight: bold;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 5px;
}

.expense-amount.lebensmittel { color: #48bb78; }
.expense-amount.transport { color: #4299e1; }
.expense-amount.wohnen { color: #805ad5; }
.expense-amount.freizeit { color: #ed8936; }
.expense-amount.sonstiges { color: #a0aec0; }

.delete-expense {
    background: none;
    border: none;
    color: #e53e3e;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
    margin-left: 10px;
}

/* Wassertracker Stile */
.water-progress {
    position: relative;
    width: 120px;
    height: 200px;
    background-color: #edf2f7;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 20px;
}

.water-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #4299e1;
    border-radius: 0 0 10px 10px;
    transition: height 0.3s;
}

.water-goal, .water-current {
    position: absolute;
    width: 100%;
    text-align: center;
    color: white;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.water-goal {
    top: 10px;
    font-size: 16px;
}

.water-current {
    bottom: 10px;
    font-size: 20px;
}

.water-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.water-add {
    padding: 8px 15px;
    background-color: #4299e1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#resetWater {
    width: 100%;
    padding: 8px 15px;
    background-color: #e2e8f0;
    color: #4a5568;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}


/* Benutzerdefiniertes Zeit-Eingabefeld */
.custom-time {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.custom-time input {
    background-color: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--neutral);
    border-radius: var(--border-radius);
    padding: 10px;
    width: 200px;
    font-size: 16px;
    transition: var(--transition);
    text-align: center;
}

.custom-time input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 5px var(--accent);
}

/* Button für die benutzerdefinierte Zeit */
#setCustomTime {
    background-color: var(--accent);
    color: var(--text);
    border: none;
    border-radius: var(--border-radius);
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    width: 200px;
    text-align: center;
}

#setCustomTime:hover {
    background-color: var(--accent-light);
}

#setCustomTime:disabled {
    background-color: var(--neutral);
    cursor: not-allowed;
}
