@font-face {
    font-family: 'Onest';
    src: url('/fonts/Onest.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    color: rgba(40, 39, 39, 0.81);
    font-family: "Onest", sans-serif;
}
.content{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 75px;
    padding: 24px;
    min-height: calc(100vh - 169px);
}
body{
    background-color: #fffdf4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}
p.modern{
    font-size: 12px;
}
.wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    align-items: center;
}
.main-width{
    width: 1400px;
}
select.modern,
textarea.modern,
input.modern{
    width: 400px;
    padding: 12px;
    font-size: 16px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #624129;
    border-radius: 0;
    color: #624129;
    -webkit-appearance: none; /* Для Safari */
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    &:focus{
        outline: none;
    }
}
select.modern:disabled,
textarea.modern:disabled,
input.modern:disabled{
    color: #716c69;
    border-bottom: 2px solid #9b9b9b;
}
h2.modern{
    font-weight: 200;
    font-size: 28px;
}
button.modern{
    padding: 8px 16px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    background-color: darkblue;
    border-radius: 7px;
    cursor: pointer;
    outline: none;
}
.gray{
    color: rgba(40, 39, 39, 0.81) !important;
}
button.modern:disabled{
    color: black;
    background-color: lightslategray;
    outline: none;
}
.wrong{
    border-bottom: 2px solid rgb(200, 0, 0) !important;
}
.alert{
    position: fixed;
    top: 15px;
    right: 15px;
    min-height: 75px;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(103, 103, 103, 0.81);
    padding: 18px;
    background-color: #181818b8;
    z-index: 9999;
}
.alert-msg{
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}
.row{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form{
    padding: 36px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
    background-color: #fecc86b3;
    box-shadow: 0 0 5px #fecc86;
}
.ico{
    width: 25px;
}
.align-center{
    align-items: center;
}
.big-header{
    font-size: 72px !important;
    font-weight: 300 !important;
}
.big-text{
    font-size: 28px !important;
    font-weight: 400;
}
.column{
    flex-direction: column;
}
label.modern{
    color: rgba(37, 37, 37, 0.719);
    font-size: 14px;
    font-weight: 600;
    margin-left: 15px;
}
.form-img-wrapper>img{
    position: relative;
    height: 100%;
}
.form-w-img{
    display: flex;
    flex-direction: row;
    background-color: #f5eedf;
    border-radius: 25px;
    overflow: hidden;
    max-height: 750px;
}
.form-fields{
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 16px;
    justify-content: center;
    align-items: center;
}
a.modern{
    text-decoration: none;
    color: #624129;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    gap: 9px;
    align-items: center;
    text-transform: capitalize;
}
.d-flex{
    display: flex;
}
.g-50{
    gap: 50px;
}
.center{
    justify-content: center !important;
}
.around{
    justify-content: space-around;
}
.between{
    justify-content: space-between;
}
.start{
    justify-content: flex-start;
}
.a-center{
    align-items: center;
}
.w-100{
    width: 100% !important;
}
.end{
    justify-content: flex-end;
}
.w-33{
    position: relative;
    width: 33%;
}
span.red{
    color: red;
    font-weight: 800;
}
.btn{
    padding: 8px 16px;
    min-width: 100px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    background-color: darkblue;
    border-radius: 7px;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    text-transform: capitalize;
    text-align: center;
}
img{
    position: relative;
    width: 100%;
}
.white{
    color: #FFF;
}
.orange{
    color: #624129;
    margin-bottom: 0 !important;
}
.orange-btn {
    /* Основные стили */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    text-transform: capitalize;
    padding: 18px 32px;
    border-radius: 9px;
    border: none;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    
    /* Градиент оранжевого */
    background: linear-gradient(
        135deg,
        #261509 0%,
        #443224 50%,
        #7b6c60 100%
    );
    
    color: white;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}
.bc-leather{
    background-color: #fffdf4 !important;
}
.bc-dark-leather{
    background-color: #fecb86 !important;
}
.hidden{
    display: none;
}
.g-8{
    gap: 8px !important;
}
.g-16{
    gap: 16px !important;
}
.g-32{
    gap: 32px !important;
}
.form-wo-bc{
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
}
.status-code{
    font-size: 150px;
    font-weight: 600;
}
.status-desc{
    font-size: 36px;
    font-weight: 200;
}
.col{
    flex-direction: column;
}
.w-50{
    width: 50%;
}
#filter{
    padding: 8px;
    border-radius: 12px;
    height: 50px;
    width: 80%;
    cursor: pointer;
}
#filter-btn{
    width: 150px;
}
.menu-item-link{
    padding: 5px 8px;
}
a.active{
    color: white !important;
    background-color: #3c2d20;
    border-radius: 8px;
}
/* Основные стили таблицы */
table.modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(98, 65, 41, 0.1);
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Заголовок таблицы */
thead th.modern {
    background: linear-gradient(135deg, #201811 0%, #493d35 100%);
    color: #fff;
    padding: 18px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
    border: none;
}

/* Ячейки таблицы */
td.modern {
    padding: 16px;
    text-align: center;
    color: #333;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    height: 60px;
}

/* Чередование строк для лучшей читаемости */
tbody tr.modern:nth-child(even) {
    background-color: #faf9f7;
}

tbody tr.modern:nth-child(odd) {
    background-color: #ffffff;
}

/* Эффект при наведении на строку */
tbody tr.modern:hover {
    background-color: #fff9f0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(98, 65, 41, 0.1);
}

/* Стиль для первой колонки (ID заявки) */
td.modern:first-child {
    font-weight: 600;
    color: #624129;
}

/* Стиль для статуса согласия */
td.modern:nth-child(4) {
    font-size: 20px;
}

/* Анимация появления строк */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

tbody tr.modern {
    animation: fadeIn 0.4s ease forwards;
    height: 60px;
}

/* Улучшенная граница для последней строки */
tbody tr.modern:last-child td {
    border-bottom: none;
}

/* Стиль для даты */
td.modern:last-child {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Скругленные углы для таблицы */
table.modern thead tr:first-child th:first-child {
    border-top-left-radius: 12px;
}

table.modern thead tr:first-child th:last-child {
    border-top-right-radius: 12px;
}

table.modern tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

table.modern tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    table.modern {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    th.modern, td.modern {
        padding: 12px 10px;
        font-size: 13px;
    }
}

/* Дополнительные украшения */
thead th.modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #FFD700;
    border-radius: 2px;
}

.info-group {
    margin-bottom: 24px;
}

.info-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-field {
    position: relative;
}

.info-field .field-value {
    display: block;
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    background: #fafafa;
    color: #333;
    font-family: inherit;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.field-value.empty {
    color: #999;
    font-style: italic;
}
.process-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #382315 0%, #745239 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    text-align: center;
    text-decoration: none;
}
.cancel-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #600e0e 0%, #f80000 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    text-align: center;
    text-decoration: none;
}
.btn-row{
    margin: 25px 0px;
}
#tableWrapper{
    height: 650px;
    background-color: #fff;
    border-radius: 12px;
    overflow-y: scroll;
}
#tableWrapper::-webkit-scrollbar{
    width: 0px;
}