пришли исправленный вариант
/* ============================================
   Б-Запись SPA — Общие стили и авторизация
   ============================================ */

:root {
    --red: #dd1847;
    --red-dark: #c1163d;
    --text: #1a1a1a;
    --text-secondary: #666;
    --bg: #f8f8f8;
    --border: #f0f0f0;
    --shadow: 0 2px 8px rgba(0,0,0,0.04);
    --card-bg: #f9fafb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    min-height: 100vh;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

#app {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ===== СКЕЛЕТОНЫ ===== */
@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 400px 100%;
    animation: shimmer 1.5s infinite;
}
.skeleton-project-card { height: 72px; border-radius: 14px; margin-bottom: 12px; }
.skeleton-booking-card { height: 200px; border-radius: 20px; margin-bottom: 12px; }

/* ===== ОБЩИЕ КОМПОНЕНТЫ ===== */
.auth-container { width: 100%; max-width: 500px; margin: 0 auto; }
.auth-card {
    background: #fff; border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15); padding: 32px 32px 28px;
}
.auth-logo { display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.auth-logo img { width: 250px; height: auto; }
.auth-back-link { text-align: center; margin-top: 20px; }
.auth-back-link a { color: #999; text-decoration: none; font-size: 14px; }
.auth-back-link a:hover { color: #dd1847; }

/* ===== ЗАГОЛОВКИ ===== */
.ozon-header { text-align: center; margin-bottom: 28px; }
.ozon-title { font-size: 28px; font-weight: 700; color: #1a1a1a; margin: 0 0 8px 0; line-height: 32px; }
.ozon-subtitle { text-align: center; margin: 0 0 28px; color: #666; font-size: 16px; line-height: 1.4; font-weight: 400; }
.ozon-subtitle span { font-weight: 600; color: #dd1847; }

/* ===== ПЕРЕКЛЮЧАТЕЛЬ ТЕЛЕФОН/ПОЧТА ===== */
.ozon-switcher { margin-bottom: 32px; position: relative; }
.switcher-tabs { display: flex; background: #f8f8f8; border-radius: 12px; padding: 4px; position: relative; }
.switcher-tab {
    flex: 1; padding: 14px 20px; border: none; background: transparent; color: #666;
    border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer;
    position: relative; z-index: 1; text-align: center; font-family: inherit; transition: color 0.2s;
}
.switcher-tab.active { color: #1a1a1a; }
.switcher-indicator {
    position: absolute; top: 4px; bottom: 4px; width: calc(50% - 4px); background: #fff;
    border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 0; left: 4px;
}

/* ===== ПОЛЯ ВВОДА ===== */
.input-group { display: none; margin-top: 25px; }
.input-group.active { display: block; }
.phone-input-wrapper { position: relative; width: 100%; margin-bottom: 20px; }
.ozon-input {
    width: 100%; height: 52px; line-height: 52px; padding: 0 16px; border-radius: 8px;
    border: 1.11px solid transparent; font-size: 17px; color: #000; background-color: #f8f8f8;
    outline: none; box-sizing: border-box; font-family: inherit; display: block;
}
.phone-input-wrapper .ozon-input { padding-left: 70px; }
.country-selector {
    position: absolute; left: 0; top: 0; width: 60px; height: 100%;
    display: flex; align-items: center; justify-content: center;
    border-right: 1px solid rgba(0,0,0,0.15); cursor: pointer; z-index: 10;
    background: #f8f8f8; border-radius: 8px 0 0 8px; font-size: 14px; color: #666;
}
.country-selector .country-flag { font-size: 20px; margin-right: 5px; }

/* ===== КНОПКИ ===== */
.ozon-btn {
    font-family: inherit; font-weight: 600; cursor: pointer; text-align: center;
    text-decoration: none; display: block; width: 100%; border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.ozon-btn.primary {
    background: linear-gradient(135deg, #dd1847, #c1163d); color: #fff;
    padding: 14px 20px; border-radius: 10px; font-size: 15px;
    box-shadow: 0 2px 8px rgba(221, 24, 71, 0.3); margin-bottom: 12px;
}
.ozon-btn.primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #c1163d, #a51433);
    transform: translateY(-1px); box-shadow: 0 4px 12px rgba(221, 24, 71, 0.4);
}
.ozon-btn.primary:active:not(:disabled) { transform: translateY(1px) scale(0.98); }
.ozon-btn.secondary {
    background: transparent; border: none; box-shadow: none;
    color: #999; padding: 12px 0; font-weight: 500; font-size: 15px;
}
.ozon-btn.secondary:hover { color: #1a1a1a; }
.ozon-btn:disabled { cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.ozon-btn.primary:disabled { opacity: 0.85; }

/* ===== OTP ПОЛЯ ===== */
.code-inputs { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 30px 0; width: 100%; }
.code-digit {
    width: 52px; height: 64px; border: 2px solid #e0e0e0; border-radius: 10px;
    background: #fff; color: #1a1a1a; font-size: 24px; font-weight: 700;
    text-align: center; cursor: pointer; transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); font-family: inherit; outline: none;
}
.code-digit:focus, .code-digit.active { border-color: #dd1847; background: rgba(221, 24, 71, 0.05); }
.code-digit.error { border-color: #f44336; background: rgba(244, 67, 54, 0.1); animation: shake 0.5s; }
.code-timer { text-align: center; margin-bottom: 25px; padding: 12px; background: #f8f8f8; border-radius: 12px; font-size: 14px; color: #666; }
.code-timer.resend-available { color: #dd1847; cursor: pointer; font-weight: 600; }
.code-timer.resend-available:hover { text-decoration: underline; }
.otp-target { font-weight: 600; color: #dd1847; }

/* ===== PIN ===== */
.pin-dots { display: flex; justify-content: center; gap: 16px; margin: 24px 0 8px; }
.pin-dot { width: 16px; height: 16px; background: #e0e0e0; border-radius: 50%; transition: all 0.2s; }
.pin-dot.filled { background: #dd1847; transform: scale(1.2); }
.pin-dot.error { background: #f44336; }
.pin-error { color: #f44336; font-size: 14px; text-align: center; min-height: 20px; margin-bottom: 16px; }
.pin-keypad {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    max-width: 300px; margin: 20px auto 0; background: #fff; padding: 16px; border-radius: 20px;
}
.pin-key {
    aspect-ratio: 1; background: #f8f9fa; border: none; border-radius: 50%;
    font-size: 28px; font-weight: 500; color: #1a1a1a; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-family: inherit; transition: all 0.15s;
}
.pin-key:active { background: #dd1847; color: #fff; transform: scale(0.95); }
.pin-key.backspace { background: transparent; font-size: 18px; color: #999; }
.pin-key.placeholder { visibility: hidden; }
.forgot-pin-link { text-align: center; margin-top: 12px; }
.forgot-pin-link a { color: #999; font-size: 14px; text-decoration: none; cursor: pointer; }
.forgot-pin-link a:hover { color: #dd1847; }

/* ===== РЕГИСТРАЦИЯ ===== */
.register-header { text-align: left; margin-bottom: 25px; }
.register-header h2 { font-size: 26px; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; }
.register-subtitle { color: #666; font-size: 14px; line-height: 1.4; }
.register-fields { display: flex; flex-direction: column; gap: 16px; }
.register-fields .ozon-input { margin-bottom: 0; }
.terms-checkbox {
    margin: 20px 0; padding: 15px; background: #f8f8f8;
    border-radius: 12px; border: 1px solid #e9ecef;
}
.terms-checkbox label { display: flex; align-items: flex-start; cursor: pointer; font-size: 14px; color: #666; gap: 10px; }
.terms-checkbox input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: #dd1847; }
.terms-checkbox a { color: #dd1847; text-decoration: none; font-weight: 600; }

/* ===== SELECT ROLE ===== */
.greeting { font-size: 16px; color: #666; margin-bottom: 6px; text-align: center; }
.select-subtitle { font-size: 14px; color: #999; margin-bottom: 32px; text-align: center; }
.cards { display: flex; flex-direction: column; gap: 14px; }
.card {
    display: flex; flex-direction: column; align-items: center; padding: 32px 24px;
    background: #f8f9fa; border: 2px solid #e0e0e0; border-radius: 20px;
    cursor: pointer; transition: all 0.25s; text-decoration: none; color: inherit;
}
.card:hover {
    border-color: #dd1847; background: #fff;
    transform: translateY(-3px); box-shadow: 0 12px 32px rgba(221, 24, 71, 0.12);
}
.card-icon {
    margin-bottom: 16px; width: 64px; height: 64px; display: flex;
    align-items: center; justify-content: center; background: #fff;
    border-radius: 18px; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.card-icon img { width: 36px; height: 36px; }
.card-title { font-size: 20px; font-weight: 600; margin-bottom: 6px; color: #1a1a1a; }
.card-desc { font-size: 14px; color: #888; }
.logout-link {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 32px;
    color: #999; font-size: 14px; text-decoration: none; padding: 8px 20px;
    border-radius: 12px; transition: all 0.2s; width: 100%; justify-content: center;
}
.logout-link:hover { color: #dd1847; background: #fdf2f5; }

/* ===== СПИННЕР ===== */
.loading-spinner {
    display: inline-block; width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3); border-radius: 50%;
    border-top-color: #fff; animation: spin 1s linear infinite;
    margin-right: 8px; vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }