@charset "utf-8";
/*NAV*/
.user-nav {
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}
.user-nav_a {
    width: 10em;
    padding: 1em 0;
    margin: 0 0.2em 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    border-radius: 1em 1em 0 0;
    font-size: clamp(13px, 1.2vw, 16px);
}
.user-nav_a br {
    display: none;
}
.user {
    border-radius: 0 2em 2em 2em;
    margin-top: -3px;
    position: relative;
    z-index: 1;
}
.user.user-login,
.user.user-passwordreset,
.user.user-passwordsent {
    border-radius: 2em;
}
@media screen and (max-width: 980px) {
    .user {
        border-radius: 0 1em 1em 1em;
    }
    .user-nav_a {
        width: 8em;
    }
}
@media screen and (max-width: 480px) {
    .user-nav_a {
        width: 6em;
        padding: 0.5em 0;
    }
    .user-nav_a br {
        display: block;
    }
}

/*FORM*/
.user-form {
    max-width: 580px;
    margin: 0 auto;
}
.user-form .form-item {
    justify-content: center;
    align-items: center;
    padding: 1em 0;
    margin: 0;
}
.user-form .form-item_h6 {
    width: 7em !important;
}
.user-lead small {
    display: block;
    padding-left: 1em;
    text-indent: -1em;
    font-size: clamp(12px, 1.1vw, 14px);
    margin-top: 1em;
}
.user-footer {
    padding-left: 7em;
}
.user-back {
    margin-top: 0.5em;
}
.user-back a {
    text-decoration: underline;
    transition: 0.3s all;
    cursor: pointer;
}
.user-cv {
    display: flex;
    justify-content: space-between;
    margin-top: 1em;
}
.user-cv .more {
    padding: 0.7em 0 !important;
    width: 11em;
    line-height: 1;
}
.user-form input {
    border-radius: 5px;
}
.user-logout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    margin-top: 0.5em;
}
.user-logout_a {
    text-decoration: underline;
}
@media screen and (max-width: 480px) {
    .user-cv .more {
        padding: 1em 1.5em !important;
    }
}

/*LOGIN*/
.user-login .form-item {
    padding: 0.2em 0;
}
.user-login .user-form {
    padding-top: 2em;
}

/*PASSWORD*/
.user-passwordreset .form-item_h6 {
    width: 4em !important;
}
.user-passwordreset .form-item {
    padding: 0.2em 0;
}
.user-passwordreset .user-sent {
    margin-top: 0;
}
.user-passwordsent .more {
    width: 15em !important;
}
.user-password .form-item_h6 {
    width: 6em !important;
}
.user-password .form-item {
    padding: 0.2em 0;
}
.user-password .user-sent {
    margin-top: 0;
}
.user-remarks {
    max-width: 780px;
    padding: 1.5em;
    margin: 1em auto;
    border-radius: 1em;
}

@media screen and (max-width: 680px) {
    .user-lead {
        text-align: left !important;
    }
    .user-lead br {
        display: none;
    }
}

/*MYPAGE*/
.user-mypage .form-box {
    padding: 0.5em;
    line-height: 1.4;
}

/*EDIT*/
.user-edit select,
.user-edit input {
    border-radius: 5px;
}
.user-edit .user-form_att {
    width: 100%;
    font-size: clamp(12px, 1.2vw, 14px);
    padding-left: 1.2em;
    text-indent: -1.2em;
    line-height: 1.3;
    margin: 0.2em 0;
}

/*HISTORY*/
.user-history_ol {
    margin-bottom: 2em !important;
}
.user-history_li {
    display: flex;
    justify-content: space-between;
    padding: 1em 0 !important;
    flex-wrap: wrap;
}
.user-history_date {
    width: 9em;
}
.user-history_thumb {
    width: 4em;
}
.user-history_img {
    object-fit: cover;
    aspect-ratio: 1 / 1;
}
.user-history_summary {
    flex: 1;
    margin-left: 1em;
}
.user-history_price b,
.user-history_no {
    font-weight: 700;
}
.user-history_price,
.user-history_no small,
.user-history_price small {
    font-size: clamp(11px, 1.1vw, 13px);
    font-weight: 700;
    vertical-align: middle;
}
.user-history_name {
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.2;
    padding-right: 1em;
    margin-bottom: 0.2em;
}
.user-history_name small {
    font-size: clamp(11px, 1.1vw, 13px);
}
.user-history_a {
    text-decoration: underline;
    cursor: pointer;
}
.user-history_trigar {
    text-align: right;
}
.user-history_dl {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 0 1em;
    padding: 0;
}
.user-history_dl dt,
.user-history_dl dd {
    margin-bottom: 2px;
    padding: 0.2em 0.5em;
}
.user-history_dl dt {
    width: 8em;
    padding: 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.user-history_dl dd {
    width: calc(100% - 8em);
    line-height: 1.3;
    padding: 0.5em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.user-history_dl dd a {
    display: inline-block;
}
.user-history .cart-total {
    margin-bottom: 2em !important;
}
.user-history .cart-price {
    width: 17em;
}
.user-history .cart-no {
    line-height: 1;
}
.user-history .cart-thumb {
    width: 4em;
}
.user-history .cart-qty {
    text-align: right;
    font-size: clamp(12px, 1.1vw, 14px);
    width: 12em;
    padding-right: 1em;
}
.user-history .cart-qty b {
    font-size: 110%;
    font-weight: 700;
}
.cart-subtotal small{
    font-size: clamp(12px, 1.1vw, 14px);
    margin-left: 0.1em;
}
.cart-remove{
    display: block;
    width: fit-content;
    cursor: pointer;
    text-align: right;
    padding: 0;
    justify-self: end;
}
.user-history .cart-status {
    font-size: clamp(12px, 1.1vw, 13px);
    display: inline-block;
    padding: 0.4em 1em;
    line-height: 1;
    border-radius: 5px;
}
@media screen and (max-width: 680px) {
    .user-history_date {
        width: 100%;
    }
    .user-history .cart-price {
        width: 100%;
        justify-content: flex-end;
    }
    .user-history .cart-subtotal {
        width: 7.5em;
    }
    .user-history_dl dd a {
        display: block;
    }
    .user-history_dl dd a:hover {
        text-decoration: underline;
    }
}
/* .unsubscribe-btn {
    border-radius: 4px;
    background-color: red;
    color: white;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
} */

.unsubscribe-btn {
  display: inline-block;
  position: relative;
  background-color: #9289f8; /* Light purple */
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.75rem; /* Smaller font */
  padding: 0.3em 0.8em; /* Smaller padding */
  border-radius: 999px; /* Keep fully rounded */
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 1;
}

.unsubscribe-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: #7f74f7;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.unsubscribe-btn:hover::before {
  width: 300%;
  height: 300%;
}

.unsubscribe-btn:hover {
  color: white;
}

.unsubscribe-btn span {
  position: relative;
}
