.full_view {
    max-width: 600px;
    margin: 0 auto;
    /* background: #000; */

}

.full_view_container {
    min-height: calc(100vh - 70px);
    position: relative;
    /* padding: 0 0.5rem; */
    /* padding-top: 0.5rem; */
    padding-bottom: 70px;
}

.main_counter {
    padding: 0.5rem;
}

.counterPage .main_counter {
    padding: 0 0.5rem;

}

.container {
    width: 100%;
    padding: 0.5rem;
    background: var(--elmnt_back);
    border-radius: 20px;
    margin-bottom: 0.5rem;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

/* .counterPage .mou_btn {
    padding: 4px;
    border-radius: 20px;
    display: block;
    width: 100%;
} */

.counterPage .mou_btn .mou_btn_icon {
    position: absolute;
    left: 4px;
    width: 40px;
    background: var(--main_background);
    border-radius: 20px;

}

.counterPage .mou_btn .mou_btn_text {
    text-align: left;
    width: 100px;
    display: block;
    margin-left: calc(40px + 0.5rem);
}

.info_container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem);
    padding-top: calc(100px + 0.5rem);
}

.full_total_container {
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: solid 1px var(--colorAccent);
    padding: 0.5rem 1rem;
    border-radius: 0 0 25px 25px;
}

/* Counter Css */
.total_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.total_container .action {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 35px;
    background: var(--main_background);
    border-radius: 8px;
    overflow: hidden;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    /* color: var(--colorAccent); */
}

.counterPage .counter_actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: sticky;
    bottom: calc(80px);

}

.total_container .action:active {
    top: calc(50% + 2px);
}

.total_container .action i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.total_container .total {
    font-size: 1.5rem;
    color: var(--colorAccent);
    padding: 0;
    font-weight: 700;
}

.total_container .clear {}

.cats {
    display: none;
}

.cats_setting {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.cat {
    display: grid;
    grid-template-columns: 1.2fr 1fr 4fr 1fr 5fr;
    align-items: center;
}

.percentage {
    display: grid;
    grid-template-columns: 2fr 0.5fr 2fr;
    align-items: center;
}

.percentage span {
    display: block;
    width: 100%;
    text-align: center;
}

.percentage input {
    text-align: center;
}

.cat[hidden] {
    display: none;
}

@media (max-width: 400px) {
    .cat {
        grid-template-columns: 3fr 1fr 4fr 1fr 5fr;
    }
}

.cat_text,
.total_container .total,
.equal_icon,
.x_icon,
.cat input,
.cat_value,
.cat_set {
    text-align: center;
}


.cat input,
.cat_set,
.cat_input {
    border-radius: 0;
    /* border-bottom: solid 1px var(--colorAccent); */
    box-shadow: 0 1px 0 0px var(--colorAccent) !important;
    font-size: 1.1rem;
    padding: 4px;
    font-weight: 500;
}

.cat_input {
    font-weight: 600;
    direction: ltr !important;
}

.cat_value {
    text-align: center;
    /* border-bottom: solid 1px var(--colorAccent); */
}

/* Enc Counter Css */

/* Settings */

/* end input container */
/* checkbox container */
/* The container */
.checkbox_container {
    display: block;
    position: relative;
    padding-left: 35px;
    /* margin-bottom: 12px; */
    cursor: pointer;
    font-size: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html[dir="rtl"] .checkbox_container {
    padding: 0;
    padding-right: 35px;
}

/* Hide the browser's default checkbox */
.checkbox_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    height: 25px;
    width: 25px;
    border: solid 1px #eee;
    transform: translate(0, -50%);
    border-radius: 4px;
}

html[dir="rtl"] .checkmark {
    right: 0;
    left: unset;
}

/* On mouse-over, add a grey background color */
.checkbox_container:hover input~.checkmark {
    /* background-color: var(--colorAccent); */
}

/* When the checkbox is checked, add a blue background */
.checkbox_container input:checked~.checkmark {
    background-color: var(--colorAccent);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox_container input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox_container .checkmark:after {
    left: 8px;
    top: 2px;
    width: 8px;
    height: 16px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* End Settings */

/* history */
.wrapper {
    width: 100%;
    background: var(--elmnt_back);
    border-radius: 20px;
    margin-bottom: 0.5rem;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;

}

.wrapper label {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 400;
    display: block;
}

.wrapper input {
    font-family: 'Roboto', sans-serif;
    display: block;
    border: none;
    border-radius: 0.25rem;
    border: 1px solid transparent;
    line-height: 1.5rem;
    font-size: 1rem;
    padding: 0;
    color: var(--colorAccent);
    width: 100%;
}

.wrapper input:focus {
    outline: none;
}

#ui-datepicker-div {
    display: none;
    background-color: var(--elmnt_back);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    margin-top: 0.25rem;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.ui-datepicker-calendar thead th {
    padding: 0.25rem 0;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 400;
    color: #78909C;
}

.ui-datepicker-calendar tbody td {
    width: 2.5rem;
    text-align: center;
    padding: 0;
}

.ui-datepicker-calendar tbody td a {
    display: block;
    border-radius: 0.25rem;
    line-height: 2rem;
    transition: 0.3s all;
    color: #fff;
    font-size: 0.875rem;
    text-decoration: none;
}

.ui-datepicker-calendar tbody td a:hover {
    background-color: #E0F2F1;
}

.ui-datepicker-calendar tbody td.ui-state-disabled {
    color: #78909C;
}

.ui-datepicker-calendar tbody td a.ui-state-active {
    background-color: var(--colorAccent);
    color: white;
}

.ui-datepicker-header a.ui-corner-all {
    cursor: pointer;
    position: absolute;
    top: 0;
    width: 2rem;
    height: 2rem;
    margin: 0.5rem;
    border-radius: 0.25rem;
    transition: 0.3s all;
}

.ui-datepicker-header a.ui-corner-all:hover {
    background-color: #ECEFF1;
}

.ui-datepicker-header a.ui-datepicker-prev {
    left: 0;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMyIgdmlld0JveD0iMCAwIDEzIDEzIj48cGF0aCBmaWxsPSIjNDI0NzcwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03LjI4OCA2LjI5NkwzLjIwMiAyLjIxYS43MS43MSAwIDAgMSAuMDA3LS45OTljLjI4LS4yOC43MjUtLjI4Ljk5OS0uMDA3TDguODAzIDUuOGEuNjk1LjY5NSAwIDAgMSAuMjAyLjQ5Ni42OTUuNjk1IDAgMCAxLS4yMDIuNDk3bC00LjU5NSA0LjU5NWEuNzA0LjcwNCAwIDAgMS0xLS4wMDcuNzEuNzEgMCAwIDEtLjAwNi0uOTk5bDQuMDg2LTQuMDg2eiIvPjwvc3ZnPg==");
    background-repeat: no-repeat;
    background-size: 0.5rem;
    background-position: 50%;
    transform: rotate(180deg);
}

.ui-datepicker-header a.ui-datepicker-next {
    right: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMyIgdmlld0JveD0iMCAwIDEzIDEzIj48cGF0aCBmaWxsPSIjNDI0NzcwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03LjI4OCA2LjI5NkwzLjIwMiAyLjIxYS43MS43MSAwIDAgMSAuMDA3LS45OTljLjI4LS4yOC43MjUtLjI4Ljk5OS0uMDA3TDguODAzIDUuOGEuNjk1LjY5NSAwIDAgMSAuMjAyLjQ5Ni42OTUuNjk1IDAgMCAxLS4yMDIuNDk3bC00LjU5NSA0LjU5NWEuNzA0LjcwNCAwIDAgMS0xLS4wMDcuNzEuNzEgMCAwIDEtLjAwNi0uOTk5bDQuMDg2LTQuMDg2eiIvPjwvc3ZnPg==');
    background-repeat: no-repeat;
    background-size: 10px;
    background-position: 50%;
}

.ui-datepicker-header a>span {
    display: none;
}

.ui-datepicker-title {
    text-align: center;
    line-height: 2rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding-bottom: 0.25rem;
}

.ui-datepicker-week-col {
    color: #78909C;
    font-weight: 400;
    font-size: 0.75rem;
}

.an_counter {
    display: block;
    border: 1px solid transparent;
    line-height: 1.5rem;
    font-size: 1rem;
    padding: 1rem;
    padding-bottom: 0.5rem;
    width: 100%;
    background: var(--elmnt_back);
    border-radius: 20px;
    margin-bottom: 0.5rem;
    display: flex;
    display: flex;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;

}

.an_counter .counter_actions {
    display: flex;
    gap: 8px;
    justify-content: right;
}

.an_counter .action {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 30px;
    height: 30px;
    background: var(--main_background);
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;

}

.an_counter .action:active {
    transform: translateY(2px);
}

.an_counter .action.remove {
    background: var(--bg-dangr-color);
}

.an_counter .action.share {
    background: var(--bg-success-color);
}

.counter_total {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    color: var(--colorAccent);
    border-bottom: solid 1px #fff;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

.counter_time_data {
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    align-items: center;
    justify-content: center;
}


.note {
    padding: 0 0.5rem;
    text-align: center;
}

.counter_time_data span {
    font-size: 0.9rem;
}

#counter_data_popup .mou_popup_header {
    display: block;
    border-bottom: none;
    padding-bottom: 0;
}

#counter_data_popup .close_popup_btn {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
}

.popup_counter_total {
    font-size: 1.5rem;
    color: var(--colorAccent);
    padding: 0;
    font-weight: 700;
    width: 100%;
    display: block;
    text-align: center;
}


/* end history */

/* info */
.app_logo_container {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 0 20px, rgba(0, 0, 0, 0.23) 0px 0 20px;
    border-radius: 30px;
    overflow: hidden;
}

.app_logo_container img {
    display: block;
    width: 100%;
    height: 100%;
}

.app_name {
    text-align: center;
}

.app_version {
    font-size: 0.7rem;
}

.profile_btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--main_background);
    width: -webkit-fill-available;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    padding: 8px 16px;
}

/* end info */
.d-none {
    display: none !important;
}