/* Sara Designs account styles. All rules are scoped to this plugin's forms. */
.sara-auth, .sara-otp {
    --sara-accent: #82705f;
    --sara-ink: #10131b;
    --sara-muted: #596170;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    color: var(--sara-ink);
    text-align: left;
}
.sara-auth *, .sara-otp * { box-sizing: border-box; }
.sara-auth { width: 100%; max-width: 580px; clear: both; margin: 32px auto 48px; padding: 34px 32px 27px; border: 1px solid #d7d8dc; border-radius: 18px; background: #fff; box-shadow: 0 8px 32px #17202d0b; }
.sara-auth .sara-auth-header { margin: 0 0 29px; text-align: center; }
.sara-auth img.sara-auth-logo { display: block; width: 80px !important; height: auto !important; max-width: 100%; margin: 0 auto 22px; border: 0; border-radius: 0; object-fit: contain; }
.sara-auth h2.sara-auth-title { color: var(--sara-ink); font-family: Georgia, 'Times New Roman', serif !important; font-size: 34px !important; font-weight: 400 !important; letter-spacing: -.7px; line-height: 1.2; margin: 0 0 10px !important; text-align: center; }
.sara-auth .sara-auth-description { color: var(--sara-muted); margin: 0; font-size: 15px; line-height: 1.6; }
.sara-auth .sara-auth-tabs { display: flex; gap: 0; padding: 2px; margin: 0 0 14px; border: 1px solid #d8dade; border-radius: 9px; background: #fff; }
.sara-auth .sara-auth-tabs button { appearance: none; flex: 1; width: auto; min-height: 46px; padding: 10px; margin: 0; border: 0 !important; border-radius: 7px; background: transparent !important; color: var(--sara-ink) !important; font: inherit; font-size: 15px !important; line-height: 1.5; font-weight: 500; box-shadow: none; text-transform: none; letter-spacing: 0; cursor: pointer; }
.sara-auth .sara-auth-tabs button[aria-selected="true"] { color: #fff !important; background: var(--sara-accent) !important; }
.sara-auth .sara-auth-panel { padding: 20px; border: 1px solid #e5e5e7; border-radius: 10px; background: #fff; }
.sara-otp { width: 100%; max-width: 520px; padding: 28px; margin: 28px auto; border: 1px solid #dedfe2; border-radius: 14px; background: #fff; }
.sara-auth .sara-otp { max-width: none; padding: 0; margin: 0; border: 0; box-shadow: none; border-radius: 0; }
.sara-auth .sara-otp-heading { display: none; }
.sara-otp .sara-otp-heading { font-family: Georgia, serif; font-size: 29px; font-weight: 400; line-height: 1.3; margin: 0 0 14px; }
.sara-otp .sara-otp-intro { margin: 0 0 20px; font-size: 14px; color: var(--sara-muted); }
.sara-auth form, .sara-otp form, .woocommerce .sara-auth form.woocommerce-form { display: block; width: 100%; float: none; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0; background: none; box-shadow: none; text-align: left; }
.sara-auth form p, .sara-otp form p { margin: 0 0 17px; padding: 0; font-size: 14px; line-height: 1.6; }
.sara-auth .form-row { float: none; width: 100%; }
.sara-auth label, .sara-otp label { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--sara-ink); margin: 0 0 9px; }
.sara-auth :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"])), .sara-otp input:not([type="hidden"]) {
    display: block; width: 100% !important; max-width: none; height: 52px !important; min-height: 52px;
    padding: 12px 14px !important; margin: 0 !important; border: 1px solid #dfe1e5 !important;
    border-radius: 10px !important; background-color: #f5f6f7 !important; color: var(--sara-ink);
    font-family: inherit; font-size: 16px !important; line-height: 24px; box-shadow: inset 0 1px 3px #1b283307 !important;
}
.sara-auth input[type="email"], .sara-auth input[name="username"], .sara-otp input[type="email"] {
    padding-left: 46px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23596170' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 6 8 6 8-6'/%3E%3C/svg%3E") !important;
    background-size: 21px 21px !important; background-position: 14px center !important; background-repeat: no-repeat !important;
}
.sara-auth .password-input, .sara-auth .sara-password-field { position: relative; display: block; width: 100%; }
.sara-auth .sara-password-field input {
    padding-left: 46px !important; padding-right: 48px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23596170' stroke-width='1.6'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3M12 14v3'/%3E%3C/svg%3E") !important;
    background-size: 21px 21px !important; background-position: 14px center !important; background-repeat: no-repeat !important;
}
.sara-auth .sara-password-eye { position: absolute; right: 5px; top: 5px; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 9px; margin: 0; min-height: 0; border: 0 !important; background: transparent !important; color: #596170 !important; box-shadow: none; border-radius: 6px; cursor: pointer; }
.sara-auth .sara-password-eye svg { display: block; width: 22px; height: 22px; }
.sara-auth .sara-eye-slash { display: none; }
.sara-auth .sara-password-eye[aria-pressed="true"] .sara-eye-slash { display: block; }
.sara-auth .sara-password-field .show-password-input { display: none !important; }
.sara-auth .sara-password-label { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 9px; }
.sara-auth .sara-password-label label { margin: 0; }
.sara-auth .sara-password-label a { font-size: 12px; font-weight: 400; }
.sara-auth input::placeholder, .sara-otp input::placeholder { color: #697181; opacity: 1; }
.sara-auth input:focus, .sara-otp input:focus { outline: 2px solid #b3a48f; outline-offset: 2px; }
.sara-auth form button[type="submit"], .sara-otp form button[type="submit"], .sara-auth form input[type="submit"] {
    display: block; width: 100%; min-height: 50px; float: none; padding: 12px 18px !important; margin: 13px 0 0 !important;
    border: 1px solid #181818 !important; border-radius: 28px !important;
    background: #181818 !important; color: #fff !important; font-family: inherit;
    font-size: 16px !important; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-transform: none;
    box-shadow: 0 3px 7px #0000000d; cursor: pointer;
}
.sara-auth form button[type="submit"]:hover, .sara-otp form button[type="submit"]:hover { background: #333 !important; }
.sara-auth button:focus-visible, .sara-otp button:focus-visible, .sara-auth a:focus-visible { outline: 2px solid #82705f; outline-offset: 3px; }
.sara-auth button:disabled, .sara-otp button:disabled { opacity: .55; cursor: not-allowed; }
.sara-auth .sara-auth-divider { display: flex; align-items: center; gap: 13px; margin: 23px 20px 19px; color: var(--sara-muted); font-size: 12px; }
.sara-auth-divider::before, .sara-auth-divider::after { content: ''; flex: 1; height: 1px; background: #d8dade; }
.sara-auth button.sara-auth-password-toggle { display: block; width: 100%; min-height: 50px; padding: 12px 10px !important; margin: 0; border: 1px solid #cfd2d7 !important; border-radius: 8px; background: #fff !important; color: var(--sara-ink) !important; font-family: inherit; font-size: 13px !important; font-weight: 500; line-height: 1.6; letter-spacing: 0; text-transform: none; text-align: center; box-shadow: none; cursor: pointer; white-space: normal; }
.sara-auth button.sara-auth-password-toggle:hover { background: #f8f6f3 !important; border-color: #b3a48f !important; }
.sara-otp button.sara-otp-link { display: block; width: 100%; min-height: 36px; padding: 6px 0 !important; margin: 7px 0 0; border: 0 !important; border-radius: 0; background: none !important; color: var(--sara-accent) !important; box-shadow: none; font-family: inherit; font-size: 13px !important; font-weight: 400; line-height: 1.6; letter-spacing: 0; text-transform: none; text-align: center; cursor: pointer; }
.sara-otp input.sara-otp-code { text-align: center; font-size: 24px !important; letter-spacing: .4em; }
.sara-otp .sara-otp-recipient { color: var(--sara-muted); font-size: 13px; overflow-wrap: anywhere; }
.sara-otp .sara-otp-status { margin: 16px 0 0; padding: 12px 14px; border: 1px solid #e4dfd6; border-radius: 8px; background: #f8f6f2; color: #645746; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.sara-otp .sara-otp-status:empty { display: none; }
.sara-otp .sara-otp-status.is-error { color: #922b37; background: #fff4f5; border-color: #f1d5d9; }
.sara-auth .sara-auth-footer { margin: 25px 0 0; padding: 0; color: var(--sara-muted); font-size: 13px; line-height: 1.7; text-align: center; }
.sara-auth button.sara-auth-footer-switch { display: inline; padding: 0; margin: 0 0 0 3px; min-height: 0; width: auto; border: 0 !important; border-radius: 0; background: transparent !important; color: var(--sara-accent) !important; font: inherit; font-size: inherit !important; text-transform: none; letter-spacing: 0; text-decoration: underline; text-underline-offset: 3px; box-shadow: none; cursor: pointer; }
.sara-auth a { color: var(--sara-accent); text-decoration: underline; text-underline-offset: 3px; }
.sara-auth .woocommerce-privacy-policy-text p { color: var(--sara-muted); font-size: 12px; line-height: 1.7; margin-bottom: 18px; }
.sara-auth .woocommerce-LostPassword { margin: 14px 0 0; text-align: center; font-size: 13px; }
.sara-auth .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 12px; font-weight: 400; color: var(--sara-muted); }
.sara-auth input[type="checkbox"], .sara-auth input[type="radio"] { width: 15px; height: 15px; margin: 0 5px 0 0; accent-color: #82705f; }
.sara-auth .woocommerce-error, .sara-auth .woocommerce-message, .sara-auth .woocommerce-info { font-size: 13px; }
.sara-auth [hidden], .sara-otp[hidden], .sara-otp [hidden] { display: none !important; }
.sara-auth-native { margin-top: 24px; }
.sara-auth-native .u-column1, .sara-auth-native .u-column2, .sara-auth-native .col-1, .sara-auth-native .col-2 { float: none !important; width: 100% !important; max-width: none !important; margin-bottom: 24px; }
@media (max-width: 540px) {
    .sara-auth { margin: 16px auto 28px; padding: 26px 17px 23px; border-radius: 14px; }
    .sara-auth .sara-auth-header { margin-bottom: 23px; }
    .sara-auth img.sara-auth-logo { width: 68px !important; margin-bottom: 17px; }
    .sara-auth h2.sara-auth-title { font-size: 30px !important; }
    .sara-auth .sara-auth-description { font-size: 13px; }
    .sara-auth .sara-auth-panel { padding: 17px 13px; }
    .sara-auth button.sara-auth-password-toggle { font-size: 12px !important; }
    .sara-auth .sara-auth-footer { font-size: 12px; }
    .sara-otp { padding: 24px 20px; }
}
