@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: grid;
}

textarea {
    resize: none;
}
  
#taskbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 80px;
    height: 100%;
    background-color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.taskbar-button {
    width: 80%;
    height: 60px;
    background-color: #555;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 40px;
    border-radius: 10px;
}

.taskbar-button.active {
    background-color: #777;
}

#content {
    margin-left: 80px; 
    padding: 20px;
    box-sizing: border-box;
}

.widget-row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.widget p {
    margin: 0px;
    height: 16px;
}
.widget {
    width: calc(50% - 10px);
    height: 220px;
    background-color: #ccc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    justify-content: space-evenly;
}

#user-id {
    height: 36px;
    border-radius: 10px;
    border: none;
    padding: 12px;
}

.search-button {
    height: 36px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 60px;

}


.widget .add-pre {
    display: flex;

}
.date-time-widget #input-date {
    cursor: pointer;
    height: 32px;
    border-radius: 10px;
    border: none;
    padding: 12px;
}

.date-time-widget #input-time {
    cursor: pointer;
    height: 32px;
    border-radius: 10px;
    border: none;
    padding: 12px;
}

.add-pre .save-button {
    height: 36px;
    border: none;
    border-radius: 10px;
    width: 60px;
    cursor: pointer;
    margin-left: 200px;

}


#settings {
    display: flex;
    flex-direction: column;
}

#ads-setting {
    height: 350px;
}

.widget-row {
    display: flex;
}

.widget {
    margin-right: 10px;
}

.input-row {
    margin-right: 150px;
    width: 60%;
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.input-row p {
    width: 100px;
    margin-right: 40px;
    margin-bottom: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.input-row input {
    border: none;
    padding: 8px;
    flex: 1;
    height: 32px;
    border-radius: 8px;
}



#basic-settings {
    height: 450px;
    display: flex;
    flex-direction: column;
}

#start-message {
    border: none;
    padding: 8px;
    flex: 1;
    height: 100px;
    border-radius: 8px;
}


.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2196F3;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


#ads-message{
    border: none;
    padding: 8px;
    flex: 1;
    height: 100px;
    border-radius: 8px;
}

.save-btn {
    margin-top: 10px;
    border: none;
    width: 60px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    margin-left: auto;
}

#notification-widget {
    display: none;
    background-color: #fff;
    color: #000;
    padding: 10px;
    border: 1px solid #ccc;
}

.success {
    background-color: #a0d468;
    color: #fff;
}

.fail {
    background-color: #ed5565;
    color: #fff;
}

.noti-modal {
    display: none;
    background: rgb(14 14 14 / 60%);
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.noti-modal .noti-layout-content {
    width: 400px;
    background: #323334;
    border-radius: 12px;
    position: absolute;
    top: 35%;
    animation: show .2s;
}

.noti-layout-content .noti-body {
    padding-top: 20px;
    text-align: center;
    color: white;
    font-size: 20px;
}

.noti-body .noti-btn-confirm {
    display: flex;
    justify-content: space-around;
    margin: 20px 30px;
}

.noti-layout-content .noti-body button {
    width: 100px;
    height: 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}
.noti-layout-content .noti-body button:hover {
    opacity: 0.8;
}

.noti-layout-content .noti-header {
    width: 100%;
    height: 50px;
    border: 1px rgb(209 209 209 / 20%) solid;
    border-width: 0 0 1px 0;
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 30px;
    font-weight: 600;
}

@keyframes spin {
    100% {
      transform: rotate(360deg);
    }
  }

@keyframes show {
    0% {
        transform: scale(0.7);
    }
    45% {
        transform: scale(1.05);
    }
    80% {
        transform: scale(.95);
    }
    100% {
        transform: scale(1);
    }
}