/* SalonPro Auth (Login & Register) Mobile-First Styles */
:root {
    --auth-rose: #e0576e;
    --auth-rose-hover: #c9465c;
    --auth-rose-light: #fbecee;
    --auth-dark: #1b1619;
    --auth-muted: #796e74;
    --auth-border: #f0e6e9;
    --auth-bg: #f8f4f5;
    --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
}

body.auth-body {
    margin: 0;
    padding: 0;
    background: var(--auth-bg);
    color: var(--auth-dark);
    font-family: var(--sans);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

.auth-shell {
    width: 100%;
    max-width: 440px;
    padding: 24px 20px;
    box-sizing: border-box;
}

.auth-header-card {
    text-align: center;
    margin-bottom: 24px;
}

.auth-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 26px;
    font-weight: 800;
    color: var(--auth-dark);
    text-decoration: none;
    letter-spacing: -1px;
}

.auth-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--auth-rose);
    color: #ffffff;
    display: grid;
    place-items: center;
}
.auth-brand-mark svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
}

.auth-tagline {
    font-size: 13px;
    color: var(--auth-muted);
    margin: 6px 0 0;
}

.auth-main-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: 0 10px 35px rgba(82, 38, 52, 0.07);
    border: 1px solid var(--auth-border);
}

.auth-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--auth-dark);
}

.auth-subtitle {
    font-size: 13px;
    color: var(--auth-muted);
    margin: 0 0 22px;
    line-height: 1.5;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.auth-form-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--auth-dark);
}

.auth-input {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--sans);
    border: 1.5px solid var(--auth-border);
    border-radius: 12px;
    box-sizing: border-box;
    background: #ffffff;
    transition: border-color 0.18s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--auth-rose);
    background: #fffdfd;
}

.auth-input-phone {
    display: flex;
    border: 1.5px solid var(--auth-border);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.18s ease;
}

.auth-input-phone:focus-within {
    border-color: var(--auth-rose);
}

.phone-prefix {
    background: #faf4f6;
    padding: 0 12px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--auth-muted);
    border-right: 1px solid var(--auth-border);
}

.auth-input-phone .auth-input {
    border: none;
    border-radius: 0;
}

.auth-pin-hint {
    font-size: 11px;
    color: var(--auth-muted);
    margin-top: 2px;
}

.auth-submit-btn {
    width: 100%;
    min-height: 50px;
    background: var(--auth-rose);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--sans);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(224, 87, 110, 0.35);
    transition: transform 0.18s ease, background-color 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.auth-submit-btn:hover {
    background: var(--auth-rose-hover);
    transform: translateY(-1px);
}


.auth-switch-link {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--auth-muted);
}
.auth-switch-link a {
    color: var(--auth-rose);
    font-weight: 700;
    text-decoration: none;
}
.auth-switch-link a:hover {
    text-decoration: underline;
}

.auth-alert-error {
    background: #fdf2f2;
    border: 1px solid #f8b4b4;
    color: #9b1c1c;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12px;
    margin-bottom: 16px;
}

.auth-alert-status {
    background: #def7ec;
    border: 1px solid #84e1bc;
    color: #03543f;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12px;
    margin-bottom: 16px;
}
