* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

        .auth__body {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100vw;
            height: 100vh;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Montserrat", sans-serif;
        }

        .auth {
            max-width: 100%;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }


        .auth__title {
            font-size: 26px;
            margin-bottom: 20px;
            color: #09A69C;
        }
        .auth__form {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px 40px;
            box-sizing: border-box;
            border: 1px solid #09A69C;
            border-radius: 10px;
            max-width: 400px;
            width: 100%;
        }
        .auth__form span {
            color: #09A69C;
            margin-bottom: 12px;
            font-size: 20px;
        }
        .auth__form input {
            outline: none;
            border: 1px solid #09A69C;
            border-radius: 10px;
            width: 100%;
            height: 40px;
            padding: 5px 10px;
        }
        .auth__submit {
            max-width: 240px;
            width: 100%;
            height: 40px;
            outline: none;
            border: 1px solid #09A69C;
            border-radius: 10px;
            background: #09A69C;
            color: #fff;
            margin: 20px 0 0;
            font-size: 18px;
            cursor: pointer;
            transition: all .4s;
        }
        .auth__submit:hover {
            background: #fff;
            color: #09A69C;
        }


.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 1000;
    display: none;
}

.container {
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
}

.header {
    max-width: 100%;
    width: 100%;
    background-color: #D9F2F2;
    padding: 20px 0;
}

.header__title {
    color: #56565E;
}

.header__btn {
    outline: none;
    background-color: #09A69C;
    border: 1px solid #09A69C;
    width: 300px;
    height: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .4s;
}

.header__btn:hover {
    color: #09A69C;
    background-color: #fff;
}

.header__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    width: 100%;
}

.search-box {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#searchInput {
    outline: none;
    max-width: 900px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #09A69C;
    color: #56565E;
    padding: 10px 20px;

}

.search-box button {
    outline: none;
    background-color: #56565E;
    border: 1px solid #56565E;
    width: 200px;
    height: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .4s;
}

.patient__filter-first {

    border-radius: 10px;
    background-color: #09A69C;
    font-size: 24px;
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.patient__filter-first:not(:first-child) {
    margin-top: 70px;
}

.search-box button:hover {
    background-color: black;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 1000px;
    border-radius: 8px;
    position: relative;
}

#closeModal {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.patient__card {
    padding: 10px 0;
    border-bottom: 1px solid #09A69C;
    cursor: pointer;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.patient__card-remove {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
    background-color: transparent;
    outline: none;
    font-size: 0;
    background-image: url(del.png);
    background-size: contain;
    border: none;
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    transition: all .4s;
}

.patient__card-remove:hover {
    transform: rotate(360deg);
}

.patient__card-text-box {
    display: flex;
    flex-direction: column;
    margin-right: 50px;
    max-width: 450px;
    width: 100%;
}

.patient__card-name {
    font-size: 20px;
    margin-bottom: 16px;
    color: #56565E;
    font-weight: 700;
    transition: all .7s;
    position: relative;
}

.patient-card-date {
    font-weight: 700;
}

.patient__card-name:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    border: 2px solid transparent;
    max-width: 0;
    width: 0;
    transition: all .7s;
}

.patient__card:hover .patient__card-name::before {
    width: 100%;
    max-width: 100%;
    border: 2px solid #09A69C;
}

.patient__card-name:hover {
    color: #09A69C;
}

.patient__card-date {
    font-size: 16px;
    margin-bottom: 6px;
}

.patient__card-edit {
    width: 40px;
    height: 40px;
    background-image: url(edit.png);
    background-size: contain;
    background-repeat: no-repeat;
    outline: none;
    border: none;
    background-color: transparent;
    font-size: 0;
    cursor: pointer;
    transition: all .5s;
}

.patient__card-edit:hover {
    transform: rotate(45deg);
}

.add__patient-title {
    margin: 0 0 20px;
    font-size: 24px;
    text-align: center;
}

.add__input-container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 10px;
}

.add__input-box {
    display: flex;
    align-items: center;
    max-width: 32%;
    width: 100%;
}

.add__input-box label {
    font-size: 16px;
    margin-right: 6px;
}

.add__input-box input {
    outline: none;
    border: 1px solid black;
    border-radius: 5px;
    width: 215px;
    height: 30px;
    box-sizing: border-box;
    padding: 5px 10px;
    transition: all .4s;
}

.add__input-box input:focus,
.add__input-box input:active {
    border: 1px solid #09A69C;
}

.add__history-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.add__history-box label {
    font-size: 16px;
    margin-bottom: 10px;
}

.add__history-box textarea {
    outline: none;
    border: 1px solid black;
    border-radius: 5px;
    width: 90%;
    height: 150px;
    box-sizing: border-box;
    padding: 5px 10px;
    transition: all .4s;
}

.treatment-row {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    position: relative;
}

.add__new-treat {
    outline: none;
    border: 1px solid #09A69C;
    background-color: #09A69C;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all .4s;
}

.add__new-treat:hover {
    background-color: #D9F2F2;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: red;
}

.add__btn-all {
    margin: 10px 0;
    outline: none;
    border: 1px solid #09A69C;
    background-color: transparent;
    color: black;
    transition: all .4s;
    border-radius: 5px;
    width: 300px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
}

.add__btn-all:hover {
    border: 1px solid #09A69C;
    background-color: #09A69C;
    color: #fff;
}
.treatment-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}




@media screen and (max-width: 1280px) {
    .container {
        max-width: 95%;
    }

    .header__title {
        font-size: 24px;
    }

    .header__btn {
        width: 230px;
        font-size: 16px;
    }

    .search-box button {
        width: 170px;
    }

    #searchInput {
        max-width: 70%;
    }

    .patient__filter-first {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 20px;
    }

    .patient__card-text-box {
        max-width: 375px;
    }
    .add__input-box {
        max-width: 47%;
    }
}

@media screen and (max-width: 768px) {
    .header__box {
        display: flex;
        flex-direction: column;
    }

    .header__title {
        margin-bottom: 20px;
        text-align: center;
    }

    .search-box button {
        width: 135px;
    }

    .patient__card-name {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .patient__card-text-box {
        max-width: 235px;
    }
        .add__input-box {
        max-width: 100%;
    }
}

@media screen and (max-width: 550px) {
    .search-box {
        flex-direction: column;
    }

    #searchInput {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .patient__filter-first {
        margin-bottom: 10px;
    }

    .patient__card-name {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .patient__card-remove {
        width: 35px;
        height: 35px;
    }

    .patient__card-text-box {
        margin-right: 0;
    }

    .patient__card-edit {
        position: absolute;
        right: 45px;
        top: 0;
        bottom: 0;
        margin: auto;
        cursor: pointer;
    }
    .add__btn-all {
        max-width: 100%;
        height: 30px;
        font-size: 16px;
    }
    .add__input-box label {
        font-size: 14px;
    }
    .add__input-box input {
        height: 26px;
    }
    .modal-content {
        padding: 20px;
    }
}