/* ==========================================================================
   StayNomix Auth — auth.css
   Shared styles for login and registration pages.
   ========================================================================== */

.w-full { width: 100%; }
.mr-2 { margin-right: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.p-5 { padding: 3rem; }
.border { border: 1px solid var(--border-color); }
.gap-2 { gap: 0.5rem; }
.d-none { display: none !important; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.card-glass {
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.auth-tabs {
    width: 100%;
}

.tab-btn {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.25s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: var(--text-dark);
}

.tab-btn.active {
    color: #1EBEA5;
    border-bottom: 2px solid #1EBEA5;
}

.phone-input-wrapper,
.email-input-wrapper,
.phone-input-wrapper-simple {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #f8fafc;
    overflow: hidden;
    transition: border 0.2s ease, box-shadow 0.2s ease;
    height: 42px;
}

.phone-input-wrapper:focus-within,
.email-input-wrapper:focus-within,
.phone-input-wrapper-simple:focus-within {
    border-color: #1EBEA5;
    box-shadow: 0 0 0 3px rgba(30, 190, 165, 0.15);
}

.country-prefix {
    padding: 0 14px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
    font-size: 0.95rem;
    border-right: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    height: 100%;
}

.phone-field,
.phone-field-simple {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    height: 100%;
    padding-left: 14px !important;
    flex-grow: 1;
}

.email-field {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    height: 100%;
    padding-left: 14px !important;
    flex-grow: 1;
}

.btn-google:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px);
}

.btn-otp-action {
    border-radius: 0 !important;
    height: 100% !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    padding: 0 16px !important;
    font-size: 0.85rem !important;
    border: none !important;
}
