/* CSS identisch zum Original */
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'Yu Gothic', Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 8px 40px 8px;
    background: #f7f9fb;
}
h1 {
    text-align: center;
    color: #2d3a4b;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
#current-time {
    font-size: 1.7em;
    text-align: center;
    margin: 24px 0 28px 0;
    color: #2196F3;
    font-weight: bold;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(33,150,243,0.08);
    padding: 16px 0;
}
#task-input {
    width: 68%;
    padding: 12px;
    font-size: 17px;
    border: 1.5px solid #b0bec5;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    box-shadow: 0 1px 4px rgba(33,150,243,0.04);
}
#task-input:focus {
    border-color: #2196F3;
}
#timer-btn {
    padding: 12px 28px;
    font-size: 17px;
    background: linear-gradient(90deg, #4CAF50 60%, #43e97b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 12px;
    box-shadow: 0 2px 8px rgba(76,175,80,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
#timer-btn.running {
    background: linear-gradient(90deg, #f44336 60%, #ff7961 100%);
    box-shadow: 0 2px 12px rgba(244,67,54,0.12);
}
#timer-btn:hover {
    box-shadow: 0 4px 16px rgba(76,175,80,0.16);
    opacity: 0.95;
}
#timer-btn.running:hover {
    box-shadow: 0 4px 16px rgba(244,67,54,0.16);
}
#export-pdf {
    margin-top: 28px;
    padding: 12px 28px;
    background: linear-gradient(90deg, #2196F3 60%, #6dd5fa 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 17px;
    box-shadow: 0 2px 8px rgba(33,150,243,0.08);
    transition: background 0.2s, box-shadow 0.2s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#export-pdf:hover {
    box-shadow: 0 4px 16px rgba(33,150,243,0.16);
    opacity: 0.95;
}
.editable {
    cursor: text;
    background: #f7f9fb;
    border-radius: 4px;
    transition: background 0.2s;
}
.editable:focus {
    background: #e3f2fd;
    outline: 1.5px solid #2196F3;
}
.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 24px 18px;
    margin-bottom: 24px;
}
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(33,150,243,0.06);
    overflow: hidden;
    font-size: 16px;
}
th, td {
    border-bottom: 1px solid #e0e7ef;
    padding: 12px 8px;
    text-align: left;
}
th {
    background: #f2f7fa;
    color: #2196F3;
    font-weight: 600;
}
tr:last-child td {
    border-bottom: none;
}
@media (max-width: 600px) {
    #task-input, #timer-btn {
        width: 100%;
        margin: 8px 0 0 0;
        display: block;
    }
    table, thead, tbody, th, td, tr {
        display: block;
    }
    thead {
        display: none;
    }
    tr {
        margin-bottom: 16px;
        box-shadow: 0 1px 4px rgba(33,150,243,0.04);
        border-radius: 8px;
        background: #fff;
    }
    td {
        border: none;
        position: relative;
        padding-left: 50%;
        min-height: 32px;
    }
    td:before {
        position: absolute;
        left: 12px;
        top: 12px;
        width: 45%;
        white-space: nowrap;
        font-weight: bold;
        color: #2196F3;
    }
    td:nth-of-type(1):before { content: "Startzeit"; }
    td:nth-of-type(2):before { content: "Endzeit"; }
    td:nth-of-type(3):before { content: "Aufgabe"; }
    td:nth-of-type(4):before { content: "Dauer"; }
}
.main-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 12px;
}
.main-panel {
    flex: 1;
    min-width: 0;
}
.tasklist-panel {
    width: 100%;
    max-width: 800px;
    margin: 32px auto 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(33,150,243,0.06);
    padding: 18px 14px 14px 14px;
    min-height: 100px;
}
@media (max-width: 900px) {
    .main-layout {
        flex-direction: column;
        gap: 0;
    }
    .tasklist-panel {
        width: 100%;
        margin-top: 18px;
    }
}
.input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
}
.input-row #task-input {
    flex: 1 1 0%;
    width: auto;
    min-width: 0;
}
.input-row #timer-btn {
    flex-shrink: 0;
}
.lang-switch { position: absolute; right: 24px; top: 24px; }
.lang-switch button { margin-left: 8px; padding: 4px 10px; border-radius: 4px; border: 1px solid #2196F3; background: #fff; color: #2196F3; cursor: pointer; }
.lang-switch button.active { background: #2196F3; color: #fff; }
#share-section a {
    text-decoration: none;
    margin: 0 4px;
    display: inline-block;
    vertical-align: middle;
}
#share-section img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    display: inline-block;
}
#new-task-content {
    width: 90% !important;
    padding: 6px 12px !important;
    font-size: 16px !important;
    border-radius: 4px;
    border: 1px solid #b0bec5;
} 