@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&family=Open+Sans:wght@400;600&display=swap');

/* полоса прокрутки (скроллбар) */
::-webkit-scrollbar {
    width: 12px; /* ширина для вертикального скролла */
    height: 12px; /* высота для горизонтального скролла */
    background-color: inherit;
}

/* ползунок скроллбара */
::-webkit-scrollbar-thumb {
    background-color: #ababab;
    border-radius: 8px;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Montserrat", serif;
    background-color: #EEEEEE;
}

.root {
    display: flex;
    width: 100%;
    height: 100%;
}

.nav {
    display: flex;
    position: fixed;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    margin: .3rem;
    background: #424242;
    border-radius: 16px;

}

.nav-btn {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    width: 5rem;
    height: 5rem;
    margin: .5rem;
    padding: .2rem;
    border-radius: 15px;
    background-color: #2F2F2F;
    color: white !important;
    align-items: center;
    text-align: center;
    font-size: 11px;
    text-decoration: none;
}

.brand {
    display: flex;
    justify-content: center;
    margin: 1rem;
}

.logo {
    width: 25px;
    height: 25px;
}

.divider {
    width: 75%;
    height: 1px;
    background: #D9D9D9;
    margin: 15px 16px 15px 32px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: .2rem;
}

.entrance {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 620px;
    margin: auto;
    padding: 20px 10px;
    background: #C2C2C2;
    border-radius: 10%;
}

.entrance__title {
    font-size: 80px;
    color: #FF9D2B;
    align-items: center;
    margin-bottom: 50px;
}

.entrance__inputs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
}

.entrance__inputs input {
    width: 80%;
    margin-bottom: 40px;
    padding: 5px;
    border-radius: 5px;
    background-color: #F3F3F3;
    font-size: 30px;
}

.entrance__inputs input:last-child {
    margin-bottom: 0;
}

.btn-enter {
    width: 80%;
    background-color: #F3933A;
    border-radius: 5px;
    padding: 10px;
    font-size: 30px;
    color: #FFFFFF;
}

.btn-enter:hover {
    background-color: #d58235;
}

.wrapper {
    margin: 0 auto;
    padding: 30px 0;
}

.applications {
    width: 80%;
    height: 100%;
    background-color: #EEEEEE;
}

.applications__title {
    margin-bottom: 40px;
    font-size: 36px;
    font-weight: 500;
    text-align: center;
}

.applications__menu {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.status-select {
    display: inline-block;
    padding: 5px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #FFFFFF;
}

.status-select:hover {
    background-color: #e2e2e2;
}

.status-select select {
    padding: 4px;
    border-radius: 3px;
    font-size: .9rem;
    outline: none;
    border: none;
}

.status-select select:hover {
    cursor: pointer;
}

.menu__delete-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 10px;
    max-height: 32px;
    color: #EE5D00;
    background-color: #fff;
    font-weight: 500;
    border-radius: 8px;
}

.menu__delete-btn:hover {
    border: 1px solid #EE5D00;
}

.menu__delete-btn::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 20px;
}

/* Таблица start */

.my-table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
}

.my-table__href {
    cursor: pointer;
}

.my-table__href tr:hover td {
    background-color: #f1f1f1;
}

.my-table th {
    padding: 5px;
    border: 1px solid #cccccc;
    font-weight: normal;
    font-size: .9rem;
    color: #626262;
    background-color: #E3E3E3;
}

.my-table td {
    border: 1px solid #cccccc;
    padding: 5px;
    font-size: .9rem;
    background-color: #FFFFFF;
    color: #444444;
}

.my-table__checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.my-table__checkbox + label {
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.my-table__checkbox + label::before {
    content: '';
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #adb5bd;
    border-radius: 0.25em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.my-table__checkbox:checked + label::before {
    border-color: #0b76ef;
    background-color: #0b76ef;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

/* Таблица end */

/* Создание заявки start */

.app {
    height: 100%;
    padding-top: 50px;
    background-color: #D9D9D9;
    color: #FFFFFF;
    font-size: 20px;
}

.container-app {
    display: flex;
    flex-direction: column;
    min-width: 650px;
    width: 40%;
    margin: 0 auto;
    padding: 20px 50px;
    border-radius: 1rem;
    background-color: #ffffff;
}

.container-app select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #C4C4C4;
    border-radius: 8px;
}

.container-app select:hover {
    cursor: pointer;
}

.container-app textarea, input {
    width: 100%;
    padding: 5px;
    border: 1px solid #C4C4C4;
    border-radius: 5px;
    background-color: #ffffff;
}

.app__label {
    display: block;
    position: absolute;
    top: -15px;
    left: 10px;
    background-color: #fff;
    color: #383838;
    font-size: 12px;
}

.app__title {
    margin-top: 2rem;
    font-weight: 500;
    font-size: 34px;
}

.app__file,
.app__project,
.app__description {
    position: relative;
    margin-bottom: 20px;
}

.app__checkbox {
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 20px;
}
.app__checkbox input[type='checkbox'] {
    display: none;
}

.app__checkbox label {
    padding: 5px;
    border: 1px solid #C4C4C4;
    border-radius: 8px;
    color: #383838;
    font-size: 12px;
    user-select: none;
}

.app__checkbox label:hover {
    color: #EE5D00;
    border-color: #EE5D00;
}

.app__file input[type="file"] {
    display: none;
}

.file__label {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
    font-size: .6rem;
    line-height: 20px;
    border: 1px solid #C4C4C4;
    border-radius: 8px;
}

.file__label p {
    display: inline-block;
    padding: 8px 12px;
}

.file__label::after {
    content: 'Загрузите файл';
    width: 30%;
    height: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    color: #ffffff;
    background-color: #EE5D00;
}

.file__label:hover:after {
    background-color: #be4900;
}

.add-btn {
    width: 100%;
}

.app-btn {
    background-color: #EE5D00;
    border-radius: 8px;
    padding: 10px;
    color: #FFFFFF !important;
    cursor: pointer;
}

/* компактная версия кнопки (меньше высота) */
.app-btn--sm {
    padding: 6px 12px;
    font-size: 0.9em;
    line-height: 1.1;
}

/* красная кнопка удаления */
.app-btn--danger {
    background: #d32f2f;
    border-color: #d32f2f;
    color: #fff;
}

.app-btn--danger:hover {
    background: #b71c1c;
    border-color: #b71c1c;
    color: #fff;
}

.app-btn:hover {
    background-color: #be4900;
}

/* Создание заявки end */


/* Профиль start */

.app__input {
    font-size: 14px;
    position: relative;
    width: 49%;
    margin: 0 1% 10px 0;
}

.app__input:last-child{
    margin: 0 0 10px 0;
}

.app__input-container {
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.app__input_inline {
    display: inline-flex;
    justify-content: space-between;
}

.profile__input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(196, 196, 196, 0.4);
    border-radius: 8px;
    font-size: 13px;
}

.profile__label {
    opacity: 40%;
}

/* Профиль end */


/* Отдельная заявка start */

.app__header {
    display: flex;
    justify-content: space-evenly;
    align-items: end;
    width: 50%;
    margin-top: 2rem;
}

.header__btns{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}


.header__title {
    font-size: 32px;
    margin-bottom: 0;
}

.list {
    margin-bottom: 10px;
}

.list li {
    align-items: baseline;
    display: flex;
    margin-bottom: 1rem;
}

.list li::before {
    content: '';
    border-bottom: 1px dashed #ccc;
    flex-grow: 1;
    order: 2;
    margin: 0 5px;
}

.data-detail__value {
    order: 3;
}

.item-request,.item-request-tasks {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.item-request-tasks {
    padding-top: 10px;
}

.request-description, .request-comment {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    gap: 10px;
    background: #E8E8E8;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.comment_group_date_title {
    background-color: #F3933A;
    width: 50%;
    color: #EEE;
    border-radius: 16px;
    text-align: center;
    font-size: .9rem;
    margin: 0 auto 1rem;
    padding: .2rem 1rem
}

.flex_row {
    display: flex;
    justify-content: center;
    gap: 1%;
}

.scroll_block {
    overflow: auto;
    height: 40vh;
}

textarea {
    resize: none;
}

.request-item-title {
    font-size: 13px;
    line-height: 20px;
    color: #626262;
}

.request-file {
    display: flex;
    flex-direction: column;
    width: 5.5rem;
    height: 5.5rem;
    background: #E8E8E8;
    border-radius: 1rem;
}

.r-f-modific{
    width: 5.5rem;
    overflow: hidden;
    font-size: 10px;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 .5rem;
}

.image-flex{
    gap: 5px;
    align-items: center;
    justify-content: center;
    padding-top: 25px;
}

.i-f-modific{
    padding-top: 0;

}

.add_file {
    align-content: center;
    text-align: center;
    font-size: 10px;
    color: #EE5D00;
    padding-top: 10px;
}

.request-files{
    display: flex;
    flex-wrap: wrap;
    margin: 0 5px;
    gap: 10px;
}

.request-add-files {
    display: flex;
    flex-wrap: wrap;
    margin: 1rem 0;
    gap: 10px;
}

.close-btn{
    margin-right: 10px;
    background-color:#EE0000;
}

.close-btn:hover{
    background-color:#a60000;
    transition: all 0.3s ease 0s;
}

.solution-btn{
    margin-right: 10px;
    background-color: #008f00;
    right: 100%;
}

.solution-btn:hover{
    background-color: darkgreen;
    transition: all 0.3s ease 0s;
}

.file-container{
    position: relative;
}

.delete-btn{
    position: absolute;
    top: 7px;
    right: 3px;
    font-size: 35px;
    color: #424242;
}

/* Отдельная заявка end */

.paragraph {
    display: block;
}

.paragraph h1 {
    text-align: center;
    font-weight: bold;
}

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

.modal_copy {
    background-color: unset;
}

.modal-content {
    background-color: #FEFEFE;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 1rem;
    width: 40%;
}

.modal_copy_content {
    background-color: #EE5D00;
    border: unset;
    width: 20%;
    padding: 15px;
    opacity: 80%;
    text-align: center;
    color: white;
}

.close {
    color: #EE5D00;
    /*float: right;*/
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.request-contract-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    color: #FEFEFE !important;
    font-size: 19px;
    position: absolute;
    right: 0;
    display: flex;
    justify-content: center;
    width: 8rem;
    height: 3rem;
    margin: .5rem;
    border-radius: 15px;
    background-color: #2F2F2F;
    align-items: center;
}

.user-info:hover {
    background-color: #EE5D00;
    transition: .5s;
}


.little_text {
    color: #383838;
    font-size: .8em;
}

.error_color {
    color: red;
}

.error_text {
    color: #ff4545;
}

#priorities_place {
    display: none;
}

.form_create__field label{
	font-size: 14px;
	user-select: none;
}

.form_create__field input[type=date], .form_create__field select{
	width: 50%;
	padding: 3px 5px;
	border-radius: 4px;
	border: 1px solid black;
}

.form_create__field select {
	color: #F3933A;
}

.form_create__field input[type=file] {
	display: none;
}

.form_create__field span {
	border: 1px solid;
	border-radius: 4px;

	padding: 3px 10px;
	background-color: #F3933A;
	color: white;
}

.form_create__field span:hover {
	cursor: pointer;
	background-color: #d58235;
}

.radio_btn__group {
	display: flex;
	gap: 10px;
}

.form_radio_btn {
	margin: 5px 0px;
}

.form_radio_btn input[type=radio] {
	display: none;
}

.form_radio_btn label {
	cursor: pointer;
	background: white;
    color: #383838;
	padding: 0 10px;
	border: 1px solid #C4C4C4;
	border-radius: 8px;
	user-select: none;
}

/* Checked */
.form_radio_btn input[type=radio]:checked + label {
	color: #F3933A;
	border-color: #F3933A;
}

/* Hover */
.radio_btn__title:hover {
	color: #F3933A;
	border-color: #F3933A;
}

.priority_place {
    margin-top: 1.5rem;
	border-radius: .5rem;
	background-color: #ffe4a3;
	padding: 1rem;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.report-btn {
    background-color: #343a40;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.report-btn:hover {
    background-color: #212529;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.pagination a {
    display: inline-block;
    padding: 8px 14px;
    background-color: #EE5D00;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #333;
}

.current {
    font-weight: bold;
    color: #333;
}

.my-column__href {
    cursor: pointer;
}

.my-column__href:hover {
    background-color: #b0b0b0;
}
.my-table__href tr.appeal-done td{
    background-color: #7df084 !important;
    color: black;
}
.toggle-checkbox {
    display: none;
}

.toggle-label-button {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #C4C4C4;
    border-radius: 8px;
    background-color: #f7f7f7;
    color: #383838;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease-in-out;
}

.toggle-label-button:hover {
    border-color: #EE5D00;
}

.toggle-checkbox:checked + .toggle-label-button {
    background-color: #EE5D00;
    color: #ffffff;
    border-color: #EE5D00;
}