*{
    box-sizing: border-box;
}

:root{
    --basic-color: #3B433F;
    --point-color: #73A089;
    --point-color-hover: #63b98e;
    --main-text: #515253;
    --sub-text: #A2A2A2;
    --line: #E4E4E4;
    --dark-box: #424242;
    --background-1: #F7F8F7;
    font-family: Pretendard;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
}

p {
    margin: 0px;
}

ul {
    margin: 0px;
    padding: 0px;
}

button {
    cursor: pointer;
}

.container {
    display: flex;
    flex-direction: column;
    width: auto;
    margin-left: 260px;
    padding-top: 125px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.container.sidebar-close {
    margin-left: 0px;
}

.contents {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 30px;
}

.contents > div {
    border-radius: 15px;
    box-shadow: 0px 2px 5px 0px rgba(173, 173, 173, 0.25);
    background-color: white;
}

.contents-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.contents {
    width: 100%;
    height: 100%;
    background-color: var(--background-1);
}

.nav {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 34px;
    padding-left: 20px;
    background-color: white;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.nav p {
    position: relative;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.55px;
}

.nav p:not(:last-child)::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    rotate: 45deg;
    background-color: transparent;
    border-top: 2px solid var(--sub-text);
    border-right: 2px solid var(--sub-text);
    top: 40%;
    margin-left: 12px;
}

.dataTables_wrapper {
    position: relative;
}

.dataTables_length {
    position: absolute;
    right: 0px;
    top: -55px;
}

.dataTables_info {
    color: var(--dark-box);
    text-align: center;
    font-family: Pretendard;
    font-size: 11.91px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    letter-spacing: -0.476px;
}

.dataTables_wrapper .dataTables_length select {
    padding: 10px 10px 10px 15px;
    border-radius: 3px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #FEFEFF 0%, #F8F9FD 100%);

    color: var(--main-text, #515253);
    font-family: Pretendard;
    font-size: 12.91px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.516px;
}

table.dataTable thead th {
    color: var(--dark-box);
    text-align: center;
    font-family: Pretendard;
    font-size: 11.91px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.476px;
    background-color: var(--background-1);
    border: 1px solid var(--line);
}

table.dataTable tbody tr td {
    background-color: var(--background-1);
    border: 1px solid var(--line);

    color: var(--dark-box);
    text-align: center;
    font-family: Pretendard;
    font-size: 11.91px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    letter-spacing: -0.476px;
}

table.dataTable tbody tr td button {
    width: 67px;
    height: 23px;
    border-radius: 3px;
    border: 0px;
    background-color: var(--point-color);

    color: white;
    font-size: 11.91px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.476px;
}

table.dataTable.no-footer {
    border-bottom: 0px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    border-radius: 4px 0px 0px 4px;
    border: 1px solid var(--line, #E4E4E4);
    background-color: white;

    color: var(--dark-box) !important;
    text-align: center;
    font-family: Pretendard;
    font-size: 11.91px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    letter-spacing: -0.476px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.next:hover {
    background: #eee;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 1px solid var(--line);
    background-color: white;

    color: var(--dark-box) !important;
    text-align: center;
    font-family: Pretendard;
    font-size: 11.91px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    letter-spacing: -0.476px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border: 1px solid var(--line);
    color: var(--dark-box) !important;
    background: #eee;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: white !important;
    background-color: var(--point-color);
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    margin: 0;
}

.order-state-radio,
.mail-state-radio {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--line);
}

.search-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 6px;

    color: var(--main-text);
    font-size: 11.91px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: -0.476px;
    user-select: none;
}

.search-radio-label.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.search-radio-label input[type="radio"]:checked + .order-state-radio,
.search-radio-label input[type="checkbox"]:checked + .order-state-radio,
.search-radio-label input[type="radio"]:checked + .mail-state-radio {
    background: url("/images/check.svg");
    border: 0px;
}

.dataTables_wrapper td a {
    color: var(--point-color);
    text-decoration: none;
}

.dataTables_wrapper td a:visited {
    color: var(--point-color);
}

.dataTables_wrapper td a:hover {
    color: darkblue;
    text-decoration: underline;
}

.text-ellipsis-cell {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-table .search-box {
    width: 192px;
    height: 39px;
}

.detail-table input,
.detail-table select {
    padding: 8px 12px;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    height: 38px;
    box-sizing: border-box;
}

.detail-table select {
    width: auto;
}

.detail-table input:disabled {
    background-color: #F7F8F7;
}

.suggestions {
    height: 200px;
    text-align: left;
    overflow-y: auto;
    border: 1px solid gray;
    background-color: white;
    padding: 5px 10px;
    flex-direction: column;
    gap: 5px;
}

.suggestion-item {
    padding: 0px 5px;
}

.suggestion-item:hover {
    background-color: var(--point-color);
    border-radius: 4px;
    color: white;
}