.woocommerce-account .woocommerce-MyAccount-navigation {
  display: none;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: unset;
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
  width: 100%;
  background: rgba(138, 138, 140, 0.2);
  border-radius: 8px;
  color: var(--bs-white);
  box-shadow: none;
  border: none;
  outline: none;
  padding: 1.5rem 2.4rem;
}

.woocommerce form .form-row .password-input {
    width: 100%;
}

.woocommerce-MyAccount-content label[for="password_current"] {
  width: 100%;
}

.woocommerce-MyAccount-content label[for="password_current"] + .password-input {
  width: 100%;
}

.yith-wcmbs-my-account-membership-container,
.yith-wcmbs-my-account-accordion h3 {
  background: #2D2E2F!important;
  color: var(--bs-white)!important;
}

.yith-wcmbs-my-account-accordion h3.ui-corner-top {
  border-top-left-radius: 0.8rem!important;
  border-top-right-radius: 0.8rem!important;
}

.yith-wcmbs-my-account-membership-container {
  border-bottom-left-radius: 0.8rem!important;
  border-bottom-right-radius: 0.8rem!important;
}

.yith-wcmbs-membership-detail,
.yith-wcmbs-membership-detail:nth-child(3n + 2),
.yith-wcmbs-membership-plan-items__item, .yith-wcmbs-membership-history-activity {
  background: rgba(138, 138, 140, 0.2);
  border-radius: 0.8rem;
}

.yith-wcmbs-membership-detail.yith-wcmbs-membership-detail--status--active, .yith-wcmbs-membership-detail.yith-wcmbs-membership-detail--status--resumed,
.yith-wcmbs-membership-detail.yith-wcmbs-membership-detail--status--cancelled, .yith-wcmbs-membership-detail.yith-wcmbs-membership-detail--status--expired {
  color: var(--bs-black);
}

div.yith-wcmbs-tabs ul.ui-tabs-nav li {
  border-top-left-radius: 0.8rem!important;
  border-top-right-radius: 0.8rem!important;
}

.yith-wcmbs-my-account-accordion .yith-wcmbs-my-account-membership-container {
  box-shadow: unset!important;
}

.yith-wcmbs-membership-details {
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
}

.log-out-btn {
    border-radius: 8px;
    border: 1px solid var(--white, #FCFCFC);
    padding: 13px;
    color: var(--white, #FCFCFC);
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    transition: 0.3s ease-in-out;

    &:hover {
        color: var(--white, #FCFCFC);

        svg .arrow {
            translate: -2px 0;
        }
    }
}

.account-menu-wrapper {
    display: grid;
    
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 24px;

    @media (1250px <= width <= 1450px) {
        grid-template-columns: repeat(6, 1fr);
    }

    @media (width >= 1250px) {
        a {
            grid-column: span 2;
        }
    
        a:nth-child(4),
        a:nth-child(5) {
            grid-column: span 3;
        }
    }
}

.account-menu-item-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 16px;
    background: var(--dark-grey, #2D2E2F);
    height: 100%;

    .account-menu-item {
        padding: 24px;
        color: var(--white, #FCFCFC);
        font-size: 20px;
        font-weight: 700;
        line-height: normal;
        letter-spacing: 0.2px;
    }
}

.yellow-arrow {
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease-in-out;
}

.account-menu-item-wrapper svg {
    opacity: 0.2;
    transition: 0.3s ease-in-out;
}

.account-menu-item-wrapper:hover {
    .yellow-arrow {
        opacity: 1;
        visibility: visible ;
    }
    
    svg {
        opacity: 1;
    }
}

.plan-info-wrapper {
    display: flex;
    padding: 12px 24px;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    border-radius: 16px;
    background: #DDAF00;
    transition: 0.3s ease-in-out;

    svg {
        flex-shrink: 0;
    }

    &.danger { 
        background: #F57E77;
    }

    &:hover {
        background: #ddb100d5;
    }

    &:hover.danger {
        background: #f57d77d5;
    }
}

