body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
    background: #222; 
    color: white; 
    padding: 0px;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    font-size: 12px;
}

/* iOS-spezifische Anpassungen für Eingabefelder */
input, textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    font-size: 16px; /* Verhindert Zoom auf iOS */
}

/* Stellt sicher, dass Eingabefelder auf iOS nicht automatisch zoomen */
@media screen and (-webkit-min-device-pixel-ratio: 0) { 
    select,
    textarea,
    input {
        font-size: 16px;
    }
}

/* Lizenz-Sektion */
.license-section {
    margin-bottom: 7px;
    padding: 0px;
}

.license-box {
    background: linear-gradient(135deg, #9c1eb0 0%, #673ab7 100%);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(156, 30, 176, 0.3);
}

.license-box h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.license-description {
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.license-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.license-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    color: #222;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.license-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.license-input.license-input-error {
    border-color: #F44336;
    background: rgba(255, 255, 255, 0.98);
}

.license-input.license-input-error:focus {
    border-color: #F44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2);
}

.license-input::placeholder {
    color: #888;
}

.license-button {
    padding: 12px 24px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.license-button:hover {
    background: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.license-button:active {
    transform: translateY(0);
}

.license-button i {
    width: 16px;
    height: 16px;
}

.license-hint {
    margin: 10px 0 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.license-purchase-link {
    margin: 15px 0 0 0;
    font-size: 0.9rem;
    text-align: center;
}

.license-purchase-link a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.license-purchase-link a:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
}

.license-error {
    margin: 10px 0 0 0;
    font-size: 0.85rem;
    color: #FFCDD2;
    line-height: 1.4;
    font-weight: 500;
}

/* Danke-Nachricht Styles */
.license-box-thank-you {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    text-align: center;
}

.license-thank-you-content {
    padding: 10px 0;
}

.license-thank-you-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.license-thank-you-message {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

/* Animation für elegantes Ausblenden */
.license-section {
    transition: all 0.5s ease-out;
    overflow: hidden;
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.license-section.license-fade-out {
    animation: licenseFadeOut 0.5s ease-out forwards;
    animation-delay: 2.5s;
}

@keyframes licenseFadeOut {
    0% {
        opacity: 1;
        max-height: 500px;
        margin-bottom: 7px;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        max-height: 0;
        margin-bottom: 0;
        padding: 0;
        transform: translateY(-20px);
    }
}

.project-list { display: flex; flex-direction: column; gap: 5px; }
.project { 
    background-color: #111;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative; 
    cursor: default;
    touch-action: pan-y;
}
.project.archived {
    cursor: default;
    opacity: 0.8;
    touch-action: pan-y;
}
.project-header {
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer; /* Zeigt an, dass die Kopfzeile klickbar ist */
    transition: background-color 0.2s ease;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
    position: relative;
    overflow: hidden;
}
.project-drag-handle {
    cursor: grab;

    border-radius: 4px;
    transition: all 0.2s;
    touch-action: none;
}
.project-drag-handle:hover {
    color: #888;
    background: rgba(255, 255, 255, 0.1);
}
.project-drag-handle svg {
    width: 16px;
    height: 16px;
}
.project-info {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 5px;
}
.project-name {
    font-weight: 600;
    letter-spacing: -0.01em;
}
.project-duration {
    font-size: 0.9em;
    opacity: 0.9;
    padding: 4px 8px;
    font-weight: 500;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.project-actions {
    display: flex;
    position: static;
    right: auto;
    top: auto;
    transform: none;
    transition: right 0.3s ease;
    z-index: 1;
    padding-left: 10px;
}
.project-actions svg {
    width: 16px;
    height: 16px;
}
.task-actions svg {
    width: 16px;
    height: 16px;
}
.archive-section {
    margin-top: 30px;
    border-top: 1px solid #444;
    padding-top: 20px;
}
.archive-section h2 {
    color: #888;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
button { 
    margin: 0px; 
    cursor: pointer; 
}
.tasks { 
    list-style: none; 
    padding: 0; 
    margin-top: 3px;
    background: transparent;
    touch-action: pan-y;
    transition: max-height 0.3s ease-in-out;
}
.tasks li {
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
    background: #444;
    transition: background-color 0.2s;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
    width: 100%;
    margin-bottom: 3px;
}
.tasks li:last-child {
    margin-bottom: 0;
}
.tasks li.sortable-ghost {
    opacity: 0.5;
    background: #555;
}
.tasks li.sortable-drag {
    background: #666;
    cursor: grabbing;
}
.tasks li:hover {
    background: #4a4a4a;
}
/* .task-content {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    padding: 8px 10px;
    position: relative;
    overflow: hidden;
    width: 100%;
} */

.task-content{
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.task-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.task-name {
    font-weight: 500;
    letter-spacing: -0.01em;
}

.task-drag-handle {
    color: #666;
    cursor: grab;

    border-radius: 4px;
    transition: all 0.2s;
    touch-action: none;
}
.task-drag-handle:hover {
    color: #888;
    background: rgba(255, 255, 255, 0.1);
}
.task-drag-handle svg {
    width: 16px;
    height: 16px;
}
.task-actions {
    display: flex;
    position: static;
    right: auto;
    top: auto;
    transform: none;
    transition: right 0.3s ease;
    z-index: 1;
    margin-left: auto;
    color: #666;
    padding-left: 10px;
}
.task-actions button {
    margin: 5px; 
    border: none;
    background: none;
    cursor: pointer;  
}
.expand{
    display:none;
}

.timer-button {
    background: none;
    border: none;
    border-radius: 50%;

    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.record-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #999;
    transition: all 0.3s ease;
}
.timer-button.recording .record-circle {
    background-color: #ff4444;
}
.timer-button:hover {
    transform: scale(1.1);
}
.timer-button .lucide {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.duration {
    color: #aaa;
    font-size: 0.9em;
    padding: 4px 8px;
    font-weight: 500;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Base Modal Styles */
.modal { 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2a2a2a;
    color: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal Overlay */
.modal::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: -1;
}

.modal h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 24px 0;
    color: #fff;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group:last-child {
    margin-bottom: 0;
}

/* Versteckte Labels für Screenreader */
.form-group .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Sichtbare Labels */
.form-group .visible-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

/* Modal Form Elements */
.modal input,
.modal select,
.modal input[type="date"],
.modal input[type="color"],
.modal textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.modal input::placeholder,
.modal textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal input:focus,
.modal select:focus,
.modal input[type="date"]:focus,
.modal textarea:focus {
    outline: none;
    border-color: #2196F3;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

/* Modal Buttons */
.modal button {
    padding: 12px 20px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.modal button:hover {
    background: #1976D2;
    transform: translateY(-1px);
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
}

.cancel-button {
    background: rgba(255, 255, 255, 0.1) !important;
}

.cancel-button:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.secondary-button {
    background-color: transparent;
    border: 1px solid rgba(33, 150, 243, 0.5);
    color: #2196F3;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-top: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.secondary-button:hover {
    background-color: rgba(33, 150, 243, 0.1);
    border-color: #2196F3;
}

/* Export Modal Specific Styles */
.export-modal .date-inputs {
    display: flex;
    gap: 16px;
}

.export-modal .date-inputs > div {
    flex: 1;
}

/* Storage Setup Modal Specific Styles */
.storage-setup-modal .connection-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.875rem;
}

.storage-setup-modal .connection-status i {
    color: #4caf50;
}

.storage-setup-modal .note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
}

.color-picker {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.color-picker-custom {
    display: flex;
    align-items: center;
    gap: 16px;
}

.color-picker-custom input[type="color"] {
    width: 48px;
    height: 48px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 0;
}

.color-preset {
    aspect-ratio: 1;
    width: 100%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: all 0.2s ease;
    position: relative;
}

.color-preset:hover {
    transform: scale(1.05);
}

.color-preset.active {
    outline: 2px solid white;
    outline-offset: 2px;
}

.color-preset.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.main-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.main-actions button {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    background: #4CAF50;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.export-button {
    background: #2196F3 !important;
}

.help-button {
    background: #111 !important;
}

.main-actions button:hover {
    opacity: 0.9;
}

.export-modal .form-group {
    margin-bottom: 24px;
}

.export-modal label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.export-modal select,
.export-modal input[type="date"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 12px;
    font-weight: normal !important;
    cursor: pointer;
    font-size: 0.875rem;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
}

.project-actions button {
    margin: 5px; 
    padding: 0px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.project-actions button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.task-actions button {
    padding: 0px;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.task-actions button:hover {
    background: #555;
    color: white;
}

.add-button {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #888;
    padding: 8px;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    transition: all 0.2s;
}

.add-button:hover {
    background: #555;
    color: white;
}

.lucide {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.main-actions .lucide {
    width: 20px;
    height: 20px;
}

.project-content {
    touch-action: pan-y; /* Erlaubt Scrollen im Content-Bereich */
}

/* Settings Styles */
.settings-button {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.settings-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.storage-setup-modal .form-group {
    margin-bottom: 24px;
}

.storage-setup-modal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.storage-setup-modal select,
.storage-setup-modal input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.storage-setup-modal small {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 8px;
}

.license-deactivate-button {
    background: #F44336 !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.license-deactivate-button:hover {
    background: #D32F2F !important;
}

.license-deactivate-button:active {
    background: #C62828 !important;
}

.license-deactivate-button i {
    width: 14px;
    height: 14px;
}

/* Für Header/Navigation die möglicherweise blau sind */
.header, nav, .app-bar {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    /* Falls der Header eine feste Höhe hat, müssen Sie diese anpassen */
    height: calc(64px + env(safe-area-inset-top)); /* Beispiel mit 64px Basishöhe */
}

/* Collapse-Indikator Style */
.collapse-indicator {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.collapse-indicator.rotated {
    transform: rotate(-180deg);
}

/* Zeiteinträge im Task-Bearbeitungsmodal */
.time-entries-section {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.time-entries-section h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

.no-entries {
    color: #999;
    font-style: italic;
    padding: 10px 0;
}

.time-entries-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}

.time-entry-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #2196F3;
}

.time-entry-details {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.time-entry-date {
    font-size: 14px;
    color: #333;
    min-width: 100px;
}

.time-entry-time {
    min-width: 100px;
}

.time-entry-time input {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    color: black;
    border-radius: 4px;
    font-size: 14px;
}

.time-entry-duration {
    font-size: 13px;
    color: #666;
    min-width: 80px;
}


.rounded-tag {
    font-size: 11px;
    color: #888;
    font-style: italic;
}

.time-entry-actions {
    display: flex;
    gap: 5px;
}

.time-entry-actions button {
    background: none;
    border: none;
    padding: 3px;
    cursor: pointer;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.time-entry-actions button:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #333;
}

.delete-entry-btn:hover {
    color: #F44336;
}

/* Formular zum Hinzufügen neuer Zeiteinträge */
.add-time-entry-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
}

.add-time-entry-form h5 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 15px;
    color: #555;
    font-weight: 600;
}

.add-time-entry-form .form-group {
    margin-bottom: 12px;
}

.add-time-entry-form .form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.add-time-entry-form .form-group input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.add-entry-button {
    width: 100%;
    padding: 10px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    transition: background-color 0.2s;
}

.add-entry-button:hover {
    background-color: #1976D2;
}

.add-entry-button:active {
    background-color: #1565C0;
}

.add-entry-button i {
    width: 16px;
    height: 16px;
}

/* Zusätzliche Stile für das Zeiteinträge-Bearbeitungsmodal */
.note {
    color: #888;
    font-size: 12px;
    margin-top: 2px;
    display: block;
}

/* Formular-Labels im Modal */
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

/* Checkbox-Label im Modal */
.form-group label input[type="checkbox"] {
    margin-right: 5px;
}

/* Toggle Button */
.toggle-button {
    position: relative;
    width: 50px;
    height: 26px;
    border-radius: 13px !important;
    border: 2px solid #ddd;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    padding: 0;
    flex-shrink: 0;
}

.toggle-button:hover {
    border-color: #bbb;
}

.toggle-button-active {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #fff;
    transition: left 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-button-active .toggle-slider {
    left: 26px;
}

/* Notification Banner (ähnlich Lizenz-Banner) */
.notification-banner {
    margin-bottom: 7px;
    padding: 0px;
}

.notification-banner-content {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.notification-message {
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: white;
    line-height: 1.5;
}

.notification-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.notification-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.notification-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.notification-button-close {
    padding: 8px;
    min-width: 36px;
    justify-content: center;
}

@media (max-width: 768px) {
    .notification-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .notification-actions {
        justify-content: flex-end;
    }
    
    .notification-button {
        flex: 1;
        justify-content: center;
    }
}
