* {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    height: 100vh;
}

th:first-child {
    border-top-left-radius: 5px;
}

th:last-child {
    border-top-right-radius: 5px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    height: 70px;
}

.nav-item {
    width: 50px;
    height: 50px;
    margin: 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 100px;
}

.nav-item:first-child {
    height: 100%;
    width: auto;
}

.nav-item.large {
    width: 300px;
    border-radius: 8px;
}

.icon {
    width: 24px;
    height: 24px;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
}

.calendar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 70vw;
    min-height: 80%;
    flex-direction: column;
    border-radius: 8px;
}

.calendar-header {
    width: 100%;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: x-large;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.date-filter,
.tasks-box {
    padding: 20px;
    width: 100%;
}

.date-filter {
    width: 100%;
}

.dates-input-text { 
    margin-top: 10px;
    width: 30%;
    height: 40px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.tasks {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

td, th {
    word-wrap: break-word;
}

.tasks td, .tasks th {
    padding: 12px;
    text-align: left;
}

.task-button {
    width: 100%;
    height: 30px;
    border-radius: 4px;
    border-style: none;
    cursor: pointer;
}

.create-task-button,
.manage-clients-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
}

.blur-section{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(10px);
}

.additional-info {
    display: none;
    position: absolute;
    width: 600px;
    height: 50% auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.additional-info div {
    width: 100%;
    max-width: 100%;
    padding-top: 15px;
    padding-left: 20px;
    padding-right: 20px;
}

.additional-info div:last-child {
    padding-top: 0px;
}

.edit-task,
.new-task {
    display: none;
}

.client-text,
.start-date,
.end-date,
.comment-text {
    margin-top: 5px;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.edit-task-button,
.delete-task-button,
.new-task-button,
.task-cancel-button {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
    border-radius: 4px;
    border-style: none;
    cursor: pointer;
    text-align: center;
}

.manage-clients {
    display: none;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    width: 70vw;
    min-height: 80%;
    top: clamp(0px, 10vh, 70px);
    flex-direction: column;
    border-radius: 8px;
}

.manage-clients-header {
    width: 100%;
    height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: x-large;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.manage-clients-header div {
    height: 100%;
    display: flex;
    padding: 20px;
}

.cross {
    width: 30px;
    cursor: pointer;
}

.clients-box {
    width: 100%;
}

.create-client-button {
    height: 40px;
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
}

.client-data-list-box,
.dataForm-client-box {
    padding: 20px;
    width: 100%;
}

.client-data-list {
    padding: 20px;
    width: 100%;
}

.client-form-input { 
    width: 30%;
    min-width: 300px;
    height: 40px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.client-data-list {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

td, th {
    word-wrap: break-word;
}

.client-data-list td, .client-data-list th {
    padding: 12px;
    text-align: left;
}

.delete-client-button {
    width: 100%;
    height: 30px;
    border-radius: 4px;
    border-style: none;
    cursor: pointer;
}

@media only screen and (max-width: 1100px) {
    .dates-input-text {
        width: 100%;
    }
    
    .tasks, .client-data-list {
        width: 100%;
        display: block;
        overflow-x: auto;
    }

    .calendar, .manage-clients, .additional-info {
        width: 100%;
    }

    .client-form-input {
        width: 100%;
        min-width: 100%;
    }
}

.btnRed {
    background-color: rgb(165, 29, 42);
    color: rgb(232, 230, 227);
}

.btnRed:hover {
    background-color: rgb(146, 34, 46);
    /* color: black; */
}

.btnRed:active {
    background-color: rgb(131, 30, 40);
}

.btnGreen {
    background-color: rgb(75, 154, 42);
    color: rgb(232, 230, 227);
}

.btnGreen:hover {
    background-color: rgb(69, 140, 38);
}

.btnGreen:active {
    background-color: rgb(62, 125, 35);
}

.btnBlue {
    background-color: rgb(0, 98, 204);
    color: rgb(232, 230, 227);
}

.btnBlue:hover {
    background-color: rgb(0, 69, 143);
}

.btnBlue:active {
    background-color: rgb(0, 51, 106);
}