@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');

body {
font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}

.lang-box {
    width: fit-content;
    right: 0;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}
.page-header {
    display: flex;
    justify-content: space-between;
    padding: 40px 60px;
    background: #fff;
    position: relative;
}

.page-header .header-wrap {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translate(0,-50%);
}

.page-header .header-wrap .bill_logo{
    width: 15%;
}

.page-header .header-wrap .header-title {
    font-size: unset;
    margin: unset;
    line-height: unset;
    margin-left: 30px;
}

.page-header .container {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: 30px;
}

.search-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.search-form .search_history_title {
    font-weight: 600;
    margin-bottom: 25px;
}

.search-form .email_label, .search-form .phone_label{
    font-weight: 600;
}

.search-form .search_button {
    background: #FD7513;
    padding: 12px 16px;
    gap: 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 12px;
}

.form-group {
margin-bottom: 20px;
}

.form-group label {
display: block;
font-weight: bold;
margin-bottom: 5px;
}

.form-group input {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}

button {/* width: 100%; */padding: 10px;background-color: #2F80ED;color: #fff;border: none;border-radius: 4px;cursor: pointer;transition: background-color 0.3s ease;}

button:hover {
background-color: #0056b3;
}

table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
}

table caption {
font-size: 1.5em;
margin: .5em 0 .75em;
}

table tr {
padding: .35em;
text-align: center;
}
table th {
    text-align: center;
}

table td {
}

table th {
font-size: .85em;
text-transform: uppercase;
}

table tr td {
}

table tr td:first-child {
  border-left: none;
}
table tr td:last-child {
    border-right: none;
}

table tr:last-child {
    border-bottom: none;
}

table .table_type {
    color: #38A2EF;
    width: 13%;
}
table .table_product{
    width: 380px;
}

table .table_date {
    font-size: 14px;
    letter-spacing: 1px;
    width: 17%;
}
table .table_amount {
    color: #FD7513;
    text-align: center;
    width: 15%;
}
table .table_status {
    text-align: center;
}
table .order_product_container {
    display: flex;
    align-items: center;
    position: relative;
}
table .order_product_container .product_quantity {
    flex : 1;
    color: #FD7513;
    text-align: center;
}

table .order_product_container .product_image {
    flex : 2;
    text-align: center;
}
table .order_product_container .product_name {
    flex : 7;
    text-align: left;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}

table .order_product_container img {
    width: 50px;
    height: 50px;
}

.order_product_container  {
    position: relative;
}

.order_product_container:not(:last-of-type)::after {
    content: '';
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: -13px;
    border-bottom: 1px dashed #E1E1E1;
}

@media screen and (max-width: 992px) {

    .history_container {
        padding: 20px!important;
        margin: 10px auto!important;
        max-width: 95%!important;
    }

    .history_container .history_email_title {
        margin: 5px 0!important;
        font-size: 18px;
    }
    table {
        border: 0;
    }

    table caption {
        font-size: 1.3em;
    }

    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table tr {
        border-bottom: 2px dashed #ddd;
        display: block;
        margin-bottom: .625em;
        /*padding: unset;*/
        padding-bottom: 15px;
    }

    table td {
        border-bottom: 1px solid #ddd;
        display: block;
        text-align: right;
        width: unset;
    }

    table td::before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
        color:#000;
        font-size:.9em;
    }

    table td:last-child {
        border-bottom: 0;
    }

    table tr td {
        width:unset!important;
    }

    table tr td:first-child {
        border-left: 1px solid #efefef;
    }

    table .table_date {
        font-size: unset;
    }

    table .table_product {
        max-width: unset;
    }

    table .table_amount {
        text-align: right;
    }

    table .order_product_container:first-child {
        margin-top: 40px;
    }

    table .order_product_container .product_quantity {
        flex: 2;
    }
    table .order_product_container .product_image {
        flex: 2;
    }
    table .order_product_container .product_name {
        flex: 7;
        font-size: 14px;
        margin-left: 10px;
    }
    table .table_status {
        text-align: right;
    }
    table .status {
        font-size: unset;
        display: unset;
        align-items: unset;
    }

    table tr td:last-child {
        border: 1px solid #efefef;
    }
}



.lang-container {
    position: absolute;
    transform: translateY(-50%);
    width: fit-content;
    z-index:9999;
    right: 0;
    top: 50%;
}

.lang-text {
    text-transform: uppercase;
    font-weight: 500;
}

.navbar-nav li.lang{
    margin: 10px;
}
.navbar-nav li>a.lang-inner{
    padding: 0px;
}
.navbar-nav .dropdown-menu{
    text-align: center;
    transform: translate(-35%, 3%) !important;
    top: 30px !important;
    left: unset !important;
    position : fixed;
}

.mobile_menu .navbar-nav .dropdown-menu.show{
    display: flex;
    min-width: inherit;
    display: inline-block;
}

.navbar-nav {
    display: flex;
    align-items: center;
    flex-direction: row;
    margin-right: 30px;
}

.navbar-nav li {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    margin: 0 5px;
    height: 39px;
}
.navbar-nav li:last-child {
    margin-right: 0;
}
.navbar-nav li>a {
    color: var(--text-color);
    font-weight: 400;
    display: block;
    font-size: 16px;
    text-decoration: none;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    text-transform: capitalize;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.status {
  font-size: 25px;
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
}

.status span {
  margin-right: 5px;
}

.wrapper {
  color: #201F1D;
}

a {
  text-decoration: none;
  color: inherit;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  min-height: 83px;
  background-image: url("{{ asset('images/mail/banner.png') }}");
  background-size: cover;
  border-bottom: 5px solid #FF8950;
  background-color: #fff;
  background-position: center;
}

.header .big-title {
  font-size: 22px;
  color: #F7783A;
  margin-left: auto;
  padding-left: 20px;
}

/*.content {*/
/*  background-color: #fff;*/
/*  padding: 29px 57px;*/
/*}*/

.content .section-subtitle {
  padding-bottom: 29px;
}

.content .subtitle {
  font-size: 15px;
  line-height: 26px;
  color: #201F1D;
}

.content .section-detail-info {
  padding: 13px 0 20px;
}

.content .section-title {
    font-weight: 500;
    font-size: 22px;
    color: #000;
    border-bottom: 4px solid #f4f4f4;
    padding-bottom: 12px;
}

.detail_container {
    /*margin-top: 10px;*/
    /*border-radius: 8px;*/
    /*box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);*/
}

.content table {
  font-size: 13px;
  color: #201F1D;
}


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

.section-products table thead {
  text-transform: uppercase;
  font-size: 12px;
}

.section-products table thead th {
  font-weight: 400;
    color:#7C7C7C;
    font-size: 16px;
    padding: 7px 0;
}

.section-products table thead th:first-child {
    text-align: left;
}

.section-products table thead th:first-child {
  border-top-left-radius: 6px;
}

.section-products table thead th:last-child {
  border-top-right-radius: 6px;
}

.section-products table tbody td {
    padding-bottom: 15px;
}

.section-products table tbody tr:first-child td {
  padding-top: 8px;
}

.section-products table tbody > tr > td:first-child {
    width: 65%;
}


.section-products table tfoot {
    border-top: 2px solid #F4F4F4;
}

.section-products table tfoot td {
  padding: 17px 0px;
}

.section-products table tfoot tr:last-child td:first-child {
  border-bottom-left-radius: 6px;
}

.section-products table tfoot tr:last-child td:last-child {
  border-bottom-right-radius: 6px;
}

.product-img {
  object-fit: cover;
  border-radius: 7px;
  background-color: #fff;
}

.footer {
  background-color: #F5F5F5;
  padding: 25px 57px 44px;
}

.footer .socials {
  list-style: none;
}

.footer .socials li {
  margin: 0 5px;
  display: inline-block;
}

.footer .socials img {
  width: 32px;
}

.divider {
  padding: 0 30px !important;
}

.divider div {
  height: 4px;
  background-color: #ECECEC;
}



.history_container {
    max-width: 1100px;
    background: #fff;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.history_container .history_title {
    font-weight: 600;
    font-size: 26px;
}

.history_container .history_email_title {
    font-weight: 400;
    font-size: 16px;
    color: #38A2EF;
    margin: 5px 0 15px 0;
}

.history_container .history_tr:last-child {
    border-bottom: none;
}

.history_container table th {
    font-size: .85em;
    text-transform: uppercase;
    border-bottom: 2px solid #efefef;
}

.history_container table tr td:first-child {
    border-left: none;
}

.history_container table th {
    padding: .625em;
    text-align: center;
}

.history_container table tr td {
    border: 1px solid #efefef;
}

.history_container table td {
    padding: .625em;
}

.history_container table tr td:last-child {
    border-right: none;
}


.section-detail-info {
    display: flex;
    flex-direction: row;
    gap: 12px;
}
.customer_detail_container, .shop_detail_container,  .order_detail_container {
    flex: 1;
    border-radius: 10px;
    background-color: #fff;
    padding: 30px 30px 10px 30px;
}

.section-detail-info .detail_title {
    margin-bottom: 3px;
    font-weight: 500;
    font-size: 12px;
    color: #d3d3d3;
}

.section-detail-info .sub-section {
    margin-top: 14px;
    margin-bottom: 10px;
}

.section-detail-info .sub-section .detail_content{
    font-weight: 500;
    font-size: 14px;
    color: #000;
}

.section-products {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 30px 10px 30px;
    margin-bottom: 30px;
}


.product-image-container {
    display: flex;
}


.product-image-container .product-image-name {
    font-size: 14px;
    margin-left: 15px;
    display: flex;
    align-items: center;
}


@media screen and (max-width: 992px) {
    .page-header {
        padding: 20px 0px;
    }

    .page-header .header-title {
        padding-left: 10px;
    }
    .page-header .container{
        display:none;
    }

    .page-header .header-wrap {
        display: flex;
        justify-content: space-between;
        position: relative;
        top: unset;
        left: unset;
        transform: unset;

    }

    .page-header .header-wrap .bill_logo {
        width: 50%;
    }

    .navbar-nav .dropdown-menu {
        transform: translate(0%, 3%) !important;
    }

    .section-detail-info {
        flex-direction: column;
    }

    .section-products td {
        border: 1px solid #efefef;
    }

    .section-products .product-image-container {
        justify-content: end;
    }

    .section-products .product-image-container div {
        margin-left: 5px;
        max-width: 70%;

    }

    .section-products table tr td:first-child {
        border: none;
    }

    .section-products table tr, .section-products table td, .section-products table tr td:last-child {
        border: none;
    }

    .section-products table > tbody > tr {
        border-bottom: 1px solid #efefef;
    }

    .section-products table tfoot {
        border-top: none;
    }

    .section-products table tfoot > tr {
        display: flex;
        justify-content: space-between;
        padding: 0px;
    }
}

@media screen and (max-width: 600px) {

  .header,
  .content {
      padding: 20px 10px
  }

  .header .logo {
      width: 110px;
      ;
  }

  .header .big-title {
      font-size: 18px;
  }

  .section-products table th,
  .section-products table td {
      padding: 7px !important;
  }

  .product-img {
      width: 35px;
      height: 35px;
  }

  .footer {
      padding: 20px 10px;
  }

}
