.app{
    width:100%;
    min-height:100vh;
    padding:20px;
    box-sizing:border-box;
    display:grid;
    grid-template-rows:
        auto
        1fr;
    gap:15px;
}

.header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:white;

    padding:15px 20px;

    border-radius:20px;

}


.timer-panel,
.tasks-panel{

    min-width:0;
}

.timer-panel,
.tasks-panel{

    border-radius:20px;
    padding:15px;
    box-sizing:border-box;

}


.tasks-panel{

    background: white;

}

.assistant-panel{

    background:white;

    border-radius:20px;

    padding:20px;

    min-height:90px;

    display:flex;

    align-items:center;
}

.timer-panel{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    background:white;
    min-height:650px;
}

.tasks-panel{

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    width:100%;

    background:white;

    min-height:650px;

}
.logo{

    font-family:'digital-7', monospace;

    font-size:38px;

    font-weight:normal;

    color:#222;

    letter-spacing:1px;
}

.settings-btn{

    background:transparent;

    border:none;

    font-size:24px;

    cursor:pointer;

    transition:.25s;
}

.settings-btn:hover{

    transform:scale(1.25);
}

.task-list{
    list-style:none;
    padding:0;
    margin:0;
}

.task-list li{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:12px;

    overflow:hidden;

    margin-bottom:10px;

    border-radius:12px;

    background:#f2f2f2;
}

.task-list li.active{

    background:#67c8ff;

    color:white;
}

.task-name{

    font-weight:500;
}

.task-time{

    font-weight:600;

    opacity:.9;
}

.new-task-btn{

    width:100%;

    padding:16px;

    border:none;

    border-radius:14px;

    background:#67c8ff;

    color:white;

    cursor:pointer;

    margin-top:18px;

    font-size:18px;

    font-weight:600;
}

.timer-container{

    display:flex;

    flex-direction:column;

    align-items:center;

    width:100%;
}

.planned-time{

    margin-top:15px;

    font-size:15px;

    font-weight:600;
}

.timer-actions{

    display:flex;

    justify-content:center;

    gap:12px;

    margin-top:15px;
}

.timer-actions button{

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:transparent;

    color:white;

    font-size:22px;

    cursor:pointer;

    transition:.2s;
}

.timer-actions button:hover{

    transform:scale(1.08);
}

.assistant-panel{

    width:100%;

    min-height:80px;

    max-height:100px;

    display:flex;

    align-items:center;

    box-sizing:border-box;
}

.action-btn{

    background:transparent !important;

    border:none;

    box-shadow:none;
}

.action-btn img{

    width:55px;

    height:55px;

background:transparent;

}

.header-right{
    display:flex;
    align-items:center;
    gap:20px;
}

.weather-widget{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-width:100px;
}

.weather-top{
    font-size:20px;
    font-weight:900;
    color:#444;
}

.weather-bottom{
    font-size:15px;
    color:#777;
}

.header-clock{
    font-family:'digital-7', monospace;
    font-size:38px;
    color:#666;
    line-height:1.05;
    letter-spacing:2px;
    letter-spacing:1px;
}

.logo-container{
    display:flex;
    align-items:flex-start;
    gap:0;
}


.task-right{
    display:flex;
    align-items:center;
    gap:10px;
}

.task-edit,
.task-done,
.task-delete{
    cursor:pointer;
    font-size:15px;
}

.task-edit:hover,
.task-done:hover,
.task-delete:hover{
    transform:scale(1.15);
}

.task-edit,
.task-done,
.task-delete,
.task-reopen {
    cursor: pointer;
}

.task-name,
.task-time {
    cursor: default !important;
    user-select: none;
}

.dragging {
    opacity: .5;
}

.task-name {
    user-select: none;
}

.task-list li {
    transition: .15s;
}

.settings-modal {

    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.35);

    z-index: 9999;

    align-items: center;

    justify-content: center;

}

.settings-window {

    position: relative;

    width: 450px;

    max-width: 90vw;

    background: white;

    border-radius: 12px;

    padding: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);

}

.settings-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

}

.settings-content button {

    width: 100%;

    margin-bottom: 10px;

    padding: 10px;

    cursor: pointer;
} 

.settings-option {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    background: #efefef;

    border-radius: 14px;

    min-height: 48px;

    border: none;

}

#close-settings {

    border: none;

    background: transparent;

    font-size: 24px;

    cursor: pointer;

    color: #666;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    margin: 0;

    line-height: 1;

}

#close-settings:hover {

    color: #111;

}

.settings-header h3 {

    margin: 0;

    font-size: 24px;

    font-weight: 700;

}

.assistant-panel {
    display: none;
}

.percent-marker {
    display: none;
}

.mobile-wrapper{
    width:100%;
    height:100%;
}

.content{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:15px;

    align-items:start;

    margin-bottom:15px;

    min-height:0;

    background:transparent;
}

.header{
    width:100%;
    box-sizing:border-box;
}

@media (max-width:1200px){

    .content{
        display:flex;
        flex-direction:column;
    }

    .timer-panel{
        width:100%;
        min-height:auto;
        padding-bottom:20px;
    }

    .task-list li{
        padding:10px;
    }

    .task-time{
        font-size:14px;
    }

    .task-right{
        gap:4px;
    }

    .tasks-panel{
        width:100%;
        min-height:auto;
        margin-top:10px;
    }

    .task-edit,
    .task-done,
    .task-delete,
    .task-reopen{
        font-size:13px;
    }

}.timer-panel{

    position:relative;

    z-index:2;

}

.tasks-panel{

    position:relative;

    z-index:1;

}

.task-name{

    flex:1;

    min-width:0;

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;

}
@media (max-width:600px){

    .task-list li{

        font-size:14px;

    }

.task-time{

    flex-shrink:0;

    font-size:14px;

}

.task-right{

    display:flex;

    align-items:center;

    gap:4px;

    flex-shrink:0;

}


.task-time{

    flex-shrink:0;
font-size:14px;

}

.task-list li{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:8px;

}
