@charset "UTF-8";
/* 로그인 */
.login_wrap {
    width: 100%;
    height: 100%;
    padding-top: 150px;
    background-color: #fff;
}
.login_wrap .logo_img {
    width: 420px;
    margin: 0 auto;
    text-align: center;
}
.login_wrap .logo_img > img {
    width: 291px;
}
.login_wrap .login_permit {
    width: 420px;
    margin: 30px auto 0;
}
.login_wrap .id_pw {
    width: 420px;
    margin: 10px auto 0;
}
.login_wrap .id_pw input[type="text"] {
    padding-left: 80px;
    width: 100%;
    height: 76px;
    background: #ededed url("../img/ic/id_bg.jpg") no-repeat 35px 50%/25px 30px;
    color: #555;
    font-size: 20px;
    font-weight: 500;
}
.login_wrap .id_pw input[type="password"] {
    margin-top: 12px;
    padding-left: 80px;
    width: 100%;
    height: 76px;
    background: #ededed url("../img/ic/pw_bg.jpg") no-repeat 35px 50%/25px 30px;
    color: #555;
    font-size: 20px;
    font-weight: 500;
}
.login_wrap .id_save {
    width: 420px;
    margin: 10px auto 30px auto;
}
.login_wrap .login_button {
    width: 420px;
    margin: 0 auto;
}
.login_wrap .login_button > button {
    width: 100%;
    height: 72px;
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    background-color: #FC4C02;
    border: 0;
}

/* main */
main.main_page .main_top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0 40px;
}
main.main_page .main_top > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0 10px;
}
main.main_page .main_top > div > span {
    font-size: 1.4rem;
    white-space: nowrap;
}
main.main_page .main_con {
    margin-top: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 20px 0;
}
main.main_page .main_con > div {
    width: calc(50% - 10px);
    -ms-flex-preferred-size: calc(50% - 10px);
    flex-basis: calc(50% - 10px);
    border: 1px solid #ddd;
    border-radius: 4px;
}
main.main_page .main_con > div > h3 {
    height: 40px;
    padding: 0 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #72b473;
    border-radius: 4px 4px 0 0;
    color: #fff;
    font-weight: 200;
}
main.main_page .main_con > div > div {
    width: 100%;
    height: 320px;
    padding: 10px;
    font-size: 1.2rem;
    overflow: hidden;
}

/* 테이블 2개 정렬*/
.table_div_2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.table_div_2 > div:nth-child(1) {
    width: 60%;
    -ms-flex-preferred-size: 60%;
    flex-basis: 60%;
}
.table_div_2 > div:nth-child(2) {
    width: 38%;
    -ms-flex-preferred-size: 38%;
    flex-basis: 38%;
}
.table_div_2.reserve > div:nth-child(1) {
    width: 28%;
    -ms-flex-preferred-size: 28%;
    flex-basis: 28%;
}
.table_div_2.reserve > div:nth-child(2) {
    width: 70%;
    -ms-flex-preferred-size: 70%;
    flex-basis: 70%;
}
.table_div_2.half_half > div:nth-child(1) {
    width: 49%;
    -ms-flex-preferred-size: 49%;
    flex-basis: 49%;
}
.table_div_2.half_half > div:nth-child(2) {
    width: 49%;
    -ms-flex-preferred-size: 49%;
    flex-basis: 49%;
}

.table_div_3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.table_div_3 > div:nth-child(1) {
  width: 30%;
  -ms-flex-preferred-size: 30%;
      flex-basis: 30%;
}
.table_div_3 > div:nth-child(2) {
  width: 37%;
  -ms-flex-preferred-size: 37%;
      flex-basis: 37%;
}
.table_div_3 > div:nth-child(3) {
  width: 30%;
  -ms-flex-preferred-size: 30%;
      flex-basis: 30%;
}

.table_div_3_top_magin {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
          margin-top: 20px;
}
.table_div_3_top_magin > div:nth-child(1) {
  width: 30%;
  -ms-flex-preferred-size: 30%;
      flex-basis: 30%;
}
.table_div_3_top_magin > div:nth-child(2) {
  width: 7%;
  -ms-flex-preferred-size: 7%;
      flex-basis: 7%;
}
.table_div_3_top_magin > div:nth-child(3) {
  width: 40%;
  -ms-flex-preferred-size: 40%;
      flex-basis: 40%;
}
.table_div_3_top_magin > div:nth-child(4) {
  width: 20%;
  -ms-flex-preferred-size: 20%;
      flex-basis: 20%;
}
/* 검색 추가 삭제 */
.chk_add_del {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0 10px;
}
.chk_add_del .chkbox_wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 70px;
    padding: 10px;
    overflow-y: auto;
    border: 1px solid #ddd;
}
.chk_add_del .button_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
}

/* 기타 */
.tc_red {
    color: #e73956 !important;
}
.tc_green {
    color: #2eaf6e !important;
}

i.circle {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 14px;
    border: 1px solid #ddd;
}
i.circle.white {
    background-color: #fff;
}
i.circle.black {
    background-color: #2d2f43;
}

.txac {
    text-align: center;
}

/* 거래처 로그인 */

.container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.login-form {
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.logo {
        width: 100%;
    width: 350px;
    margin-bottom: 5px;
}

.login-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
    width: 100%;
    position: relative;
}

.input-group label {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 18px;
    color: #98989A;
}

.input-group label .icon {
    margin-right: 5px;
    width: 18px;
    height: 18px;
}

.input-group input[type="text"], 
.input-group input[type="password"] {
    width: 100%;
    height: 55px;
    padding: 15px;
    border: 1px solid #6DA487;
    border-radius: 5px;
    font-size: 20px;
}

.input-group input[type="text"]:focus, 
.input-group input[type="password"]:focus {
    border-color: #FF3535; /* 선택될 때 테두리 색상 변경 */
}

.chkbox_wrap2 {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 10px;
    font-size: 18px;
}

.chkbox_wrap2 label {
    display: flex;
    align-items: center;
}

.chkbox_wrap2 input[type="checkbox"] {
    margin-right: 5px;
}

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

.contact .icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.contact p {
    display: flex;
    align-items: center;
    margin: 0;
}

.contact a {
    color: #00A550;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

.illustration {
    max-width: 600px;
    width: 100%;
    position: relative;
}

.illustration img {
    width: 100%;
    display: block;
}

.qr-code-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.qr-code {
    margin-top:0px;
    width: 100px;
    height: 100px;
}

/* 거래처 메인화면 */

aside .user-details {
    margin-bottom: 20px;
}

aside .user-details p {
    margin: 0 0 8px 4px;
    font-size: 11px;
}

aside .user-details p span {
    display: inline-block;
    vertical-align: top; /* Align spans to the top */
}

aside .user-details p .role {
    width: 75px; /* Set a fixed width for role */
}

aside .user-details p .info {
    width: calc(100% - 80px); /* Set a calculated width for info */
}

aside .separator {
    border-bottom: 1px solid #ddd;
    margin: 10px 0;
}

aside .calendar {
    margin-top: 20px;
}

section.main-content {
    margin-left: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slider {
    position: relative;
    background-color: #fff;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slides div {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slides img {
    width: 100%;
    height: 570px;
    object-fit: contain;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 30px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.slider-pagination {
    position: absolute;
    bottom: 10px;
    right: 20px;
    color: #000;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.info-sections {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Added to allow wrapping */
}

.info-section {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: calc(50% - 10px); /* Adjusted for wrapping and spacing */
    height: 239px; /* Fixed height for info sections */
    overflow-y: auto;
    position: relative;
    margin-bottom: 20px; /* Added to provide space between rows */
}

.info-section h2 {
    margin-top: 0;
    margin-left: 10px;
    font-weight:bold;
    display: flex;
    justify-content: space-between;
}

.info-section .more {
    text-align: right;
    font-weight: normal;
    font-size: 13px;
    margin-right: 10px; /* Add right margin */
}

.info-section .more:hover {
  cursor: pointer;
}

.info-section .separator {
    border-bottom: 1px solid #000;
    margin: 20px 0;
}

.info-section ul {
    list-style: none;
    padding: 0;
    margin: 0 15px; /* Add left and right margins */
    font-size: 13px;
}

.info-section ul:hover {
  cursor: pointer;
}

.info-section li {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between; /* Align content and date to opposite ends */
}

.info-section .date {
    margin-left: 10px; /* Add space between content and date */
    flex-shrink: 0; /* Prevent date from shrinking */
    color: #555; /* Lighter color for dates */
}

.info-section.announcements li {
    justify-content: flex-start; /* Left align content in announcements */
}

.info-section.announcements .date {
    display: none; /* Hide dates in announcements */
}

.recommended-products {
    background-color: #fff;
    padding: 0px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.recommended-products h2 {
    margin-top: 0;
    margin-left: 50px;
    font-weight:bold;
}

.product-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* 래핑을 허용하도록 추가 */
}

.product-text {
    flex: 1;
    margin: 10px;
}

.product-slider {
    position: relative;
    flex: 3;
    overflow: hidden; /* 이미지 넘침 방지 */
    height: 170px; /* 고정된 높이 */
}

.products {
    display: flex;
    transition: transform 0.5s ease-in-out; /* 슬라이드 애니메이션 */
    gap: 50px; /* 이미지 간의 공백 추가 */
}

.slide {
    min-width: calc(25% - 50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 200px;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 130px;
    object-fit: contain;
}

.slide-text {
    width: 100%;
    padding: 2px 5px;
    text-align: center;
}

.slide-text h3,
.slide-text p {
    margin: 0;
    font-size: 12px;
}

.product-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.product-controls button {
    background-color: transparent;
    color: #000;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
}
.calendar {
    width: 100%;
    padding: 0px;
    box-sizing: border-box;
}

.calendar table {
    width: 100%;
    border-collapse: collapse;
}

.calendar th, .calendar td {
    width: 14.2%;
    text-align: center;
    padding: 8px;
    border: 1px solid #fff;
}

.calendar th {
    
    font-weight: bold;
}

.calendar td {
    height: 30px;
}

.calendar .today {
    background-color: #29B26C;
    color: #fff;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    color: #29B26C;
}

.calendar-nav button {
    background-color: transparent;
    color: #000;
    border: none;
    padding: 5px 30px;
    cursor: pointer;
}

.calendar-nav button:disabled {
    background-color: #ddd;
    cursor: not-allowed;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-info span {
    margin-right: 15px;
}

.user-info a {
    text-decoration: none;
    color: #007BFF;
}