﻿.todo-container {
    max-width: 400px;
    margin: auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.todo-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    position: relative;
    padding: 0 7px 0 20px;
    gap: 5px;
}

    .todo-input input[type="text"] {
        flex-grow: 1;
        padding: 8px 42px 9px 8px;
        border: 1px solid #ddd;
        border-radius: 8px;
        width: calc(100% - 50px);
    }

        .todo-input input[type="text"]:focus {
            outline: none;
        }

    .todo-input button {
        padding: 3px 15px;
        background: #D73E48;
        color: white;
        font-size: 22px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
    }


.todo-list {
    list-style-type: none;
    padding: 0px;
    max-height: 230px;
    overflow: auto;
    position: relative;
}

    .todo-list li {
        color: #555758;
        font-size: 12px;
        font-weight: 400;
        padding: 5px 15px 5px 20px;
        /* display: flex;
align-items: flex-start;
justify-content: space-between; */
        position: inherit;
    }

.customFieldLi.todo-list li {
    /* padding: 15px 15px 5px 20px; */
}

.todo-list li.completed span {
    text-decoration: none;
    color: #555758;
    font-size: 12px;
    font-weight: 400;
    position: relative;
}

.todo-container input[type="checkbox"] {
    margin-right: 5px;
}

.editPrompt {
    text-decoration: none;
    color: #555758;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 5px 10px 20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 30px;
    cursor: pointer;
    justify-content: space-between;
}

.buttonDelete {
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid #D73E48;
    border-radius: 50%;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 5px;
    margin-top: -2px;
}

    .buttonDelete svg path {
        stroke: #D73E48;
    }

.editPropt.hide {
    display: none;
}

.editPropt.show {
    display: block;
}

.editPrompt.active {
    color: #D73E48;
}

.editPrompt svg {
    width: 16px;
}

.editPrompt.active svg path {
    stroke: #D73E48;
}

.checkbox.style-c {
    display: flex;
    align-items: center;
    min-height: 24px;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .checkbox.style-c input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

        .checkbox.style-c input:checked ~ .checkbox__checkmark {
            background-color: #333;
        }

            .checkbox.style-c input:checked ~ .checkbox__checkmark:after {
                opacity: 1;
            }

    .checkbox.style-c:hover input ~ .checkbox__checkmark {
        background-color: #fff;
        border: 1px solid #333;
    }

    .checkbox.style-c:hover input:checked ~ .checkbox__checkmark {
        background-color: #333;
    }

    .checkbox.style-c .checkbox__checkmark {
        position: absolute;
        top: 2px;
        left: 0;
        height: 18px;
        width: 18px;
        background-color: #fff;
        border: 1px solid #333;
        transition: background-color 0.25s ease;
        border-radius: 4px;
    }

        .checkbox.style-c .checkbox__checkmark:after {
            content: "";
            position: absolute;
            left: 8px;
            top: 4px;
            width: 3px;
            height: 8px;
            border: solid #fff;
            border-width: 0 1px 1px 0;
            transform: rotate(45deg);
            opacity: 0;
            transition: opacity 0.25s ease;
        }

    .checkbox.style-c .checkbox__body {
        color: #333;
        line-height: 1.4;
        font-size: 13px;
    }

.searchCrt {
    padding: 0;
    color: #333;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 5px;
}

.radio {
    margin: 0;
    position: relative;
}

    .radio input[type=radio] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        display: none;
    }

.radio-label {
    cursor: pointer;
    position: relative;
    display: flex;
}

.searchCrt .radio .radio-label.disabled {
    display: none;
}

.radio input[type=radio] + .radio-label {
    content: "";
    background: #fff;
    border-radius: 50%;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 250ms ease;
    width: 28px;
    height: 28px;
}

.radiobutton {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 7px;
    padding: 8px 10px;
    box-sizing: border-box;
}

    .radiobutton label {
        font-size: 12px;
        color: #666;
        font-weight: 600;
        cursor: pointer;
    }

    .radiobutton input[type=radio] + .radio-label {
        content: "";
        background: #fff;
        border-radius: 50%;
        border: 1px solid #ccc;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        transition: all 250ms ease;
        width: 18px;
        height: 18px;
    }

    .radiobutton input[type=radio]:checked + .radio-label {
        background-color: #fff;
        color: #484848;
        font-weight: 500;
        border: 1px solid #6fc3ff;
    }

.radioOptionName {
    cursor: pointer;
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.radio input[type=radio]:checked + .radio-label {
    background-color: #f0f8ff;
    color: #484848;
    font-weight: 500;
    border: 1px solid #6fc3ff;
}

.radiobutton input[type=radio]:checked + .radio-label::after {
    content: "";
    background-color: #6fc3ff;
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.radio input[type=radio]:checked + .radio-label svg path {
    stroke: #007cc1;
}

.radio input[type=radio]:checked + .radio-label svg.active path {
    fill: #007cc1;
    stroke: none;
}

.radio input[type=radio]:focus + .radio-label {
    outline: none;
    border-color: #ccc;
}

.radio input[type=radio]:disabled + .radio-label {
    color: #fff;
    border-color: #b4b4b4;
    background: #b4b4b4;
}

.radio input[type=radio] + .radio-label:empty {
    margin-right: 0;
}

.searchCrt input[type="text"] {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ddd;
}

    .searchCrt input[type="text"]:focus {
        outline: none;
    }

.promptDropdown {
    padding: 5px 15px 6px;
}


.checkboxShimmer {
    padding: 0 20px 10px;
}

    .checkboxShimmer .wrapper {
        animation: fullView 0.5s forwards cubic-bezier(0.250, 0.460, 0.450, 0.940);
        display: flex;
        gap: 15px;
        margin-top: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .checkboxShimmer .profilePic {
        height: 20px;
        width: 20px;
        border-radius: 4px;
    }

    .checkboxShimmer .comment {
        height: 15px;
        background: #eff1f3;
        flex: 1;
        margin-top: 3px;
        width: 100%;
    }

@keyframes fullView {
    100% {
        width: 100%;
    }
}


.checkboxShimmer .animate {
    animation: checkboxShimmer 1.5s infinite linear;
    background: linear-gradient(to right, #eff1f3 4%, #dfdfdf 25%, #eff1f3 36%);
    background-size: 1000px 100%;
}

@keyframes checkboxShimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.customInputSave {
    padding: 5px;
    background: #999 /*rgba(0, 0, 0, 0.6)*/;
    top: 0;
    margin: 0;
    left: 0;
    position: relative;
    transition: all .5s;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    align-items: flex-end;
    border-radius: 6px;
    margin-top: 10px;
}

    .customInputSave::after {
        position: absolute;
        content: "";
        top: -5px;
        right: 44px;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 5px solid #999;
    }

.saveCta {
    display: flex;
    gap: 2px
}

    .saveCta button {
        font-size: 14px;
        padding: 7px 15px;
    }

    .saveCta .cancel {
        background: #333;
        padding: 0 5px;
        display: flex;
        align-items: center;
    }

        .saveCta .cancel svg {
            width: 20px;
            height: 20px;
        }

            .saveCta .cancel svg path {
                stroke: #fff;
            }

    .customInputSave input[type="text"], .saveCta button {
        border-radius: 4px;
    }

.customInputSave textarea {
    flex-grow: 1;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    resize: none;
    min-height: 24px;
}

    .customInputSave textarea:focus {
        outline: none;
    }
