.shady-password-rule {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
    opacity: .72;
}

.shady-phone-verification {
    margin: 10px 0 22px;
    padding: 14px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 8px;
    background: rgba(0,0,0,.018);
}

.shady-phone-verification__send-row,
.shady-phone-verification__code-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.shady-phone-verification__verify-row {
    margin-top: 12px;
}

.shady-phone-verification__verify-row label,
.shady-phone-verification__verify-row small {
    display: block;
    margin-bottom: 6px;
}

.shady-phone-verification__verify-row small {
    margin: 6px 0 0;
    opacity: .7;
}

.shady-phone-code {
    width: 150px !important;
    letter-spacing: .18em;
    font-variant-numeric: tabular-nums;
}

.shady-phone-status {
    font-size: 12px;
    line-height: 1.4;
}

.shady-phone-status.is-success { color: #0E5956; }
.shady-phone-status.is-error { color: #b32d2e; }
.shady-phone-status.is-loading { opacity: .7; }

.shady-checkout-phone-verification[hidden] {
    display: none !important;
}

/* Keep Woo's heuristic strength label visible, but hide its duplicate hint.
   Server-side acceptance is still governed by Shady's explicit rule checklist. */
.shady-password-form .woocommerce-password-hint,
.shady-password-form .shady-password-rule { display: none !important; }
.shady-password-form .woocommerce-password-strength { display: block; margin-top: 8px; }
.shady-registration-username small { display: block; font-size: 12px; margin-top: 6px; opacity: .72; }
.shady-password-rules { margin: 10px 0 0; font-size: 13px; line-height: 1.6; }
.shady-password-rules ul { margin: 0; padding: 0; list-style: none; }
.shady-password-rules li { margin: 0; color: #555; }
.shady-password-rules li.is-met { color: #0e5956; }
.shady-password-status { margin: 6px 0 0; font-size: 12px; }
.shady-phone-input { display: flex; gap: 8px; align-items: stretch; }
.shady-phone-input select { width: 42%; min-width: 0; flex: 0 1 42%; }
.shady-phone-input input { width: 58%; min-width: 0; flex: 1 1 58%; }
.shady-registration-phone small { display: block; font-size: 12px; margin-top: 6px; }
.shady-phone-verification__verify-row[hidden] { display: none !important; }
@media (max-width: 380px) {
    .shady-phone-input { gap: 6px; }
    .shady-phone-input select, .shady-phone-input input { font-size: 16px; padding-left: 6px; padding-right: 6px; }
}

/* 0.3.0.2 — compact passwordless login */
.shady-passwordless-login {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    background: transparent;
}
/* Cam dili (1.13.3): kap ve sekmeler kapsül, büyük harf yok, etkin sekme düz yeşil. */
.shady-login-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin: 0 0 16px;
    padding: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(35,31,32,.05);
}
.shady-login-methods .shady-login-method {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #231F20;
    min-height: 40px;
    padding: 8px 12px;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
    cursor: pointer;
}
.shady-login-methods .shady-login-method.is-active { background: #0A5B58; color: #fff; font-weight: 700; }
.shady-login-methods .shady-login-method.is-active:hover { background: #0D6A66; }
.shady-passwordless-login__body[hidden] { display: none !important; }
.shady-passwordless-login__intro { margin: 0 0 10px; font-size: 13px; opacity: .72; }
.shady-passwordless-login__phone {
    display: grid;
    grid-template-columns: minmax(125px, 38%) minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}
.shady-passwordless-login__phone select,
.shady-passwordless-login__phone input { width: 100% !important; min-width: 0; }
.shady-login-send { width: 100%; min-height: 44px; }
.shady-passwordless-login__verify {
    display: grid;
    grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
    gap: 8px;
    margin-top: 10px;
    align-items: stretch;
}
.shady-passwordless-login__verify[hidden] { display: none !important; }
.shady-login-code { width: 100% !important; letter-spacing: .18em; font-variant-numeric: tabular-nums; text-align: center; }
.shady-login-verify { width: 100%; }
.shady-login-status { display: block; min-height: 1.4em; margin-top: 8px; font-size: 12px; line-height: 1.4; }
.shady-login-status.is-success { color: #0E5956; }
.shady-login-status.is-error { color: #b32d2e; }
.shady-login-status.is-loading { opacity: .7; }
.shady-login-remember { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 12px; opacity: .78; }
.shady-login-remember input { margin: 0; }
@media (max-width: 480px) {
    .shady-passwordless-login__phone { grid-template-columns: 115px minmax(0,1fr); gap: 6px; }
    .shady-login-methods .shady-login-method { padding-left: 8px; padding-right: 8px; }
}

.shady-checkout-membership-cta {
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 1px solid rgba(14,89,86,.18);
    border-radius: 10px;
    background: rgba(14,89,86,.045);
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px 18px;
    align-items: center;
}
.shady-checkout-membership-cta strong { color: #0E5956; }
.shady-checkout-membership-enable { white-space: nowrap; }
.shady-checkout-membership-status {
    grid-column: 1 / -1;
    font-size: 12px;
    min-height: 1em;
    opacity: .78;
}
@media (max-width: 600px) {
    .shady-checkout-membership-cta { grid-template-columns: 1fr; }
    .shady-checkout-membership-enable { width: 100%; }
}

/* 0.3.2.2 — native Woo login fallback'ını tek parça olarak koru. */
.shady-native-login-fields { display: contents; }
.shady-native-login-fields[hidden] { display: none !important; }

/* 0.3.2.3 — unified optional checkout membership flow */
body.shady-welcome-flow-enabled.woocommerce-checkout .woocommerce-account-fields {
    display: none !important;
}
body.shady-welcome-flow-enabled.woocommerce-checkout .shady-checkout-membership-cta {
    margin: 18px 0 22px;
    padding: 14px 0 0;
    border: 0;
    border-top: 1px solid rgba(14,89,86,.18);
    border-radius: 0;
    background: transparent;
    display: block;
}
.shady-checkout-membership-copy {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.55;
}
.shady-checkout-membership-copy strong {
    display: block;
    color: #0E5956;
    font-size: 15px;
    margin-bottom: 2px;
}
.shady-checkout-membership-copy span { opacity: .74; }
.shady-checkout-membership-cta .shady-phone-verification {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
.shady-checkout-membership-cta .shady-phone-verification__send-row {
    align-items: center;
}
.shady-checkout-membership-cta .shady-phone-send {
    min-height: 42px;
}
.shady-checkout-membership-cta .shady-phone-status {
    flex: 1 1 220px;
}
.shady-checkout-membership-cta .shady-checkout-membership-status {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    opacity: .78;
}
@media (max-width: 600px) {
    .shady-checkout-membership-copy { font-size: 13px; }
    .shady-checkout-membership-cta .shady-phone-send { width: 100%; }
}
