.wc_account_orders {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
    margin-bottom: 22px;
}

.wc_account_order {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    width: 100%;
    margin-bottom: 22px;
    padding-top: 15px;
}

.wc_account_orders_title {

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 33px;
}

.wc_account_order_column {

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
    width: 15%;
}

.wc_account_orders_header {

    border-bottom: 2px solid #d3d3d3;
    padding-bottom: 15px;
}

.wc_account_order_meta {

    width: 100%;
}

.breadcrumbs {

    display: none !important;
}

.wc_account_order_number {

    width: 9%;
    text-align: center;
}

.account_order_license_code {

    margin-bottom: 11px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    width: 100%;
    text-align: center;
}

.license_code_product_name {

    font-size: 13px;
}

.product_license_code_value {

    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    margin-left: 15px;
}

#copy_text_message {

    display: none;
    z-index: 9999;
    background: darkblue;
    color: whitesmoke;
    padding: 22px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 11px;
    position: fixed;
    bottom: 33px;
    right: 33px;
}

.wc_account_order_items {

    width: 22%;
    flex-direction: column;
    font-size: 13px;
}

.order_status {

    text-align: center;
    padding: 8px 8px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    font-size: 13px;
    font-weight: bold;
}

.completed {

    background: #10b981;
    color: whitesmoke;
}
.wc_account_order_status.completed:before {
    content: '';
    padding: 9px;
    background: url(/wp-content/uploads/2025/08/done.svg) no-repeat;
    position: absolute;
    display: block;
    height: 10px;
    width: 10px;
    background-size: cover !important;
    left: 15px;
    top: 11px;
}

.cancelled, .failed {

    background: #f87171;
    color: #fff;
}

.processing {

    background: #93c5fd;
    color: whitesmoke;
}

.pending {

    background: #fde68a;
    color: #923800;

}

.wc_account_order_column_header {

    font-size: 15px;
    font-weight: bold;
}

.order_payment_button {

    background:  #2881e7;
    color: whitesmoke;
    border-radius: 8px;
    transition-duration: 0.7s;
    border: none;
    cursor: pointer;
  /*  background: linear-gradient(93deg, #247de6 0%, #6ad4fa 100%);*/
}

.wc_account_order_payment, .wc_account_order_chat, .wc_account_order_cancel {display: flex;/* flex-direction: row; *//* justify-content: flex-end; *//* align-items: center; *//* align-content: center; *//* width: 222px; *//* text-align: center; */}

.wc_account_order_cancel a {

    background: #e7e6e6;
    color: #333;
    border-radius: 8px;
    transition-duration: 0.7s;
    border: 2px solid #e7e6e6;
    cursor: pointer;
}


.wc_account_order_chat a {

    background: #3ea7ff;
    color: whitesmoke;
    border-radius: 8px;
    transition-duration: 0.7s;
    border: 2px solid #3ea7ff;
    cursor: pointer;
}


.wc_account_order_actions {display: flex;flex-direction: row;/* justify-content: flex-end; *//* align-items: center; *//* align-content: center; *//* text-align: center; *//* width: 100%; *//* padding-bottom: 15px !important; *//* border-bottom: 2px solid #d3d3d3; */}

.manual_url_button {

    margin-left: 5px;
    position: relative;
    left: 11px;
}

.manual_url_button a {

    padding: 5px 8px;
    color:#3d3d3d;
    background: yellow;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}

.download_url_button_1 {

    margin-left: 5px;
    position: relative;
    left: 11px;
}

.download_url_button_1 a {

    padding: 5px 8px;
    color:whitesmoke;
    background: green;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}


.download_url_button_2 {

    margin-left: 5px;
    position: relative;
    left: 11px;
}

.download_url_button_2 a {

    padding: 5px 8px;
    color:whitesmoke;
    background: green;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}

.reviews_url_button {

    margin-left: 15px;
}

.reviews_url_button a {

    padding: 5px 8px;
    color:whitesmoke;
    background: mediumslateblue;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}


.wc_account_order_payment_method {

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    text-align: center;
    width: 100%;
    padding-bottom: 15px !important;
}



.wc_account_order_top {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
}

.wc_account_order {
    display: flex;
    flex-wrap: wrap;
    font-family: Verdana !important;
}

.wc_account_order_column_left {
    width: 35%;
    display: flex;
    flex-wrap: wrap;
}

.wc_account_order_date {
    width: 100%;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4em;
}

.wc_account_order_number {
    width: 100%;
    text-align: left;
}

.wc_account_order_column_right {
    width: 100%;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
}

.wc_account_order_status {
    display: flex;
    height: 40px;
    padding: 0px 20px;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-radius: 7px;
    width: max-content;
    position: relative;
    padding-left: 40px;
}

.wc_account_order_total {
    display: flex;
    height: 40px;
    padding: 0px 20px;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-radius: 7px;
    font-size: 20px;
    font-weight: 600;
}

.wc_account_order_items {
    width: 100%;
}

.wc_account_order_middle {
    width: 100%;
}

.wc_account_order_number {
    margin: 10px 0;
    color: #1571b7;
}

.wc_account_order_items {
    font-size: 17px;
    line-height: 1.4em;
    font-weight: 600;
}

.wc_account_order_items div {
    margin-bottom: 10px;
}

span.license_code_product_name {
    margin-bottom: 10px;
    display: inline-block;
}

.accout_order_license_code_buttons span {
    margin: 0;
    display: flex;
    left: 0 !important;
}

.accout_order_license_code_buttons {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
}

.accout_order_license_code {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.wc_account_order_meta {
    border-top: 1px solid #eee;
}

.wc_account_order_bottom {
    padding-top: 12px;
}.wc_account_order_actions > div {
    width: auto !important;
    min-width: min-content;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    height: 40px;
}

.wc_account_order_actions {
    display: flex;
    gap: 10px;
    align-content: center;
    align-items: center;
}

.wc_account_order_chat a {
    padding: 0 10px;
    width: auto;
}

.wc_account_order_actions > div a {
    display: flex;
    padding: 0;
    height: 40px;
    padding: 0 20px;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.wc_account_order_wrapper {
    box-shadow: 0px 0px 14px 3px #eee;
    padding: 20px 40px 0px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.wc_account_order_middle {
    border-top: 1px solid #eee;
    padding-top: 14px;
}


.wd-my-account-sidebar {
    flex: 1 0 20%!important;
    max-width: 20%!important;
    width: 20%!important;
}

.woocommerce-MyAccount-content {
    flex: 1 0 80% !important;
    max-width: 80%!important;
    width: 80%!important;
}.wc_account_order.wc_account_orders_header {
    display: none;
}

.wc_account_order_status.on-hold {
    background: #d1d5db ;
}.accout_order_license_code_buttons > span a {
    padding: 5px 10px !important;
}

span.manual_url_button a {
    background: #eee;
}

.accout_order_license_code_buttons > span a {
    font-weight: 400;
    padding: 5px 15px;
}

span.download_url_button_1 a, span.download_url_button_2 a {
    background: #eee;
    color: #333;
}

span.reviews_url_button a {
    background: #247de6;
}

.wc_account_order_status.cancelled:before {
    content: '';
    padding: 9px;
    background: url(/wp-content/uploads/2025/08/free-icon-cancelled-9220619.svg) no-repeat;
    position: absolute;
    display: block;
    height: 10px;
    width: 10px;
    background-size: cover !important;
    left: 15px;
    top: 11px;
}

.wc_account_order_status.cancelled {
    position: relative;
    padding-left: 38px;
}

.wc_account_order_actions > div a:hover {
    color: #fff;
}

.accout_order_license_code_buttons a:hover {
    color: #333;
}

span.reviews_url_button a:hover {
    color: #fff;
}

.wc_account_order_cancel a:hover {
    color: #333 !important;
}

.wc_account_order_status.on-hold:before {
    content: '';
    padding: 9px;
    background: url(/wp-content/uploads/2025/08/pause.svg) no-repeat;
    position: absolute;
    display: block;
    height: 10px;
    width: 10px;
    background-size: cover !important;
    left: 15px;
    top: 11px;
}
.wc_account_order_status.pending:before {
    content: '';
    padding: 9px;
    background: url(/wp-content/uploads/2025/08/wall-clock-1-1.svg) no-repeat;
    position: absolute;
    display: block;
    height: 10px;
    width: 10px;
    background-size: cover !important;
    left: 15px;
    top: 11px;
}
.wc_account_order_chat a:before {
    content: '';
    padding: 9px;
    background: url(../img/gotochat.svg) no-repeat;
    position: absolute;
    display: block;
    height: 10px;
    width: 10px;
    background-size: cover !important;
    left: 15px;
    top: 9px;
}
.wc_account_order_status.processing:before {
    content: '';
    padding: 9px;
    background: url(/wp-content/uploads/2025/08/exchange.svg) no-repeat;
    position: absolute;
    display: block;
    height: 10px;
    width: 10px;
    background-size: cover !important;
    left: 15px;
    top: 11px;
}
.wc_account_order_chat a{
    padding-left: 40px !important;
    position: relative;
}

.wc_account_order {
    .pending, .completed, .cancelled, .failed, .processing, .wc_account_order_status.on-hold {
        background-color: unset;
        color: #b4a9a9;
    }
}
/* Отключаем двухколоночную сетку Woo */
.woocommerce-account .u-columns.col2-set {
  display: block !important; /* вместо grid/flex */
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  float: none !important;
  text-align: center; /* чтобы контент встал в центр */
}

/* Центрируем сам блок формы */
#customer_login {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start;
  width: 100% !important;
  margin: 0 auto !important;
}

/* Форма ограничена по ширине */
#customer_login .tabs.tabs-account {
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  float: none;
}

/* 1) Центруем все родительские контейнеры страницы аккаунта */
body.woocommerce-account .entry-content,
body.woocommerce-account .entry-content > .container,
body.woocommerce-account .entry-content > .container > .row {
  display: grid !important;
  place-items: center !important;   /* центр по X и Y */
  width: 100% !important;
  margin: 0 auto !important;
  float: none !important;
  text-align: initial !important;
}

/* 2) Сам блок с формой — фиксируем ширину и центрируем */
#customer_login {
  width: 100% !important;
  max-width: 480px;                 /* как на скрине 2 */
  margin: 24px auto !important;
  display: block !important;
}

/* 3) Белая «коробка» (табы + форма) — не даём тянуть вправо */
#customer_login .tabs.tabs-account {
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  float: none !important;
  display: block !important;
}

/* 4) На всякий случай гасим вторую колонку, если тема её рендерит */
.woocommerce-account .u-columns.col2-set,
.woocommerce-account .u-column1.col-1,
.woocommerce-account .u-column2.col-2 {
  float: none !important;
}
.woocommerce-account .u-column2.col-2 {
  display: none !important;
}

/* 5) Компактные табы-пилюли (чтобы размер был как на скрине 2) */
.tabs-account .tabs-btns__account{
  display: inline-flex !important;
  gap: 6px;
  padding: 6px;
  background: #f3f4f6;
  border-radius: 9999px;
  width: auto !important;
  margin: 0 auto 14px !important;
}
.tabs-account .tab-btn__login{
  padding: 10px 22px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 9999px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.tabs-account .tab-btn__login.active{
  background:#2979ff;
  color:#fff;
}


/* Контейнер табов — растягиваем на всю ширину карточки */
#customer_login .tabs-account .tabs-btns__account {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  background: #f3f4f6 !important;
  border-radius: 9999px !important;
  padding: 6px !important;        /* внутренний отступ от краёв "пилюли" */
  gap: 8px !important;            /* расстояние между кнопками */
  margin: 0 auto 18px !important;
  box-sizing: border-box !important;
}

/* Кнопки табов — равные, во всю ширину, с закруглением */
#customer_login .tabs-account .tab-btn,
#customer_login .tabs-account .tab-btn__login {
  flex: 1 1 0% !important;        /* растягиваем равномерно */
  margin: 0 !important;
  padding: 12px 0 !important;
  border: 0 !important;
  border-radius: 9999px !important;
  background: transparent !important;
  color: #1f2937 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

/* Активное состояние */
#customer_login .tabs-account .tab-btn.active,
#customer_login .tabs-account .tab-btn__login.active {
  background: #2979ff !important;
  color: #fff !important;
}

/* На узких экранах чуть ниже кнопки */
@media (max-width: 480px){
  #customer_login .tabs-account .tab-btn,
  #customer_login .tabs-account .tab-btn__login {
    padding: 10px 0 !important;
    font-size: 15px !important;
  }
}

/* Центрируем текст внутри кнопок сабмита */
#customer_login .tabs-account .woocommerce-form-login__submit,
#customer_login .tabs-account .woocommerce-form-register__submit,
#customer_login .tabs-account .woocommerce-button.button {
  text-align: center !important;
}
