/* ============================================================
   ЛИЧНЫЙ КАБИНЕТ КЛИЕНТА
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --lc-primary: #0d6efd;
    --lc-primary-dark: #0a58ca;
    --lc-success: #198754;
    --lc-warning: #fd7e14;
    --lc-danger: #dc3545;
    --lc-dark: #0d1b2a;
    --lc-gray: #64748b;
    --lc-light: #f8fafc;
    --lc-border: #e2e8f0;
    --lc-text: #1e293b;
    --lc-radius: 16px;
    --lc-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--lc-light);
    color: var(--lc-text);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   СТРАНИЦА АВТОРИЗАЦИИ
   ============================================================ */
.lc-auth-page {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.lc-auth-page::before {
    content: '';
    position: absolute;
    top: -10%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.lc-auth-page::after {
    content: '';
    position: absolute;
    bottom: -10%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.lc-auth-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 960px;
    width: 100%;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

.lc-auth-card {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
}

.lc-auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.lc-auth-logo {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--lc-primary), var(--lc-primary-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.35);
}

.lc-auth-logo-sms {
    background: linear-gradient(135deg, var(--lc-success), #20c997);
    box-shadow: 0 8px 24px rgba(25, 135, 84, 0.35);
}

.lc-auth-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lc-dark);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.lc-auth-header p {
    font-size: 0.9rem;
    color: var(--lc-gray);
}

/* ============================================================
   ФОРМА
   ============================================================ */
.lc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lc-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--lc-dark);
    letter-spacing: 0.2px;
}

.lc-phone-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.lc-phone-input-wrap i {
    position: absolute;
    left: 18px;
    color: var(--lc-gray);
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 1;
}

.lc-input {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--lc-border);
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    background: var(--lc-light);
    color: var(--lc-dark);
    transition: all 0.2s;
    font-family: inherit;
    outline: none;
}

.lc-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.lc-input:focus {
    border-color: var(--lc-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.lc-phone-input {
    padding-left: 48px;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    text-align: center;
}

.lc-code-input {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 12px;
    text-align: center;
    padding: 20px 18px;
    color: var(--lc-dark);
}

.lc-hint {
    font-size: 0.78rem;
    color: var(--lc-gray);
    text-align: center;
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.lc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: inherit;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.lc-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.lc-btn-primary {
    background: linear-gradient(135deg, var(--lc-primary), var(--lc-primary-dark));
    color: #fff;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
}

.lc-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(13, 110, 253, 0.45);
}

.lc-btn-secondary {
    background: var(--lc-light);
    border: 2px solid var(--lc-border);
    color: var(--lc-gray);
}

.lc-btn-secondary:hover:not(:disabled) {
    background: #e2e8f0;
    color: var(--lc-dark);
}

.lc-btn-danger {
    background: linear-gradient(135deg, var(--lc-danger), #b02a37);
    color: #fff;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.35);
}

.lc-btn-danger:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(220, 53, 69, 0.45);
}

.lc-btn-ghost {
    background: transparent;
    border: 2px solid var(--lc-border);
    color: var(--lc-primary);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.lc-btn-ghost:hover {
    background: var(--lc-primary);
    border-color: var(--lc-primary);
    color: #fff;
}

.lc-btn-link {
    background: none;
    border: none;
    color: var(--lc-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px;
    text-align: center;
    transition: color 0.2s;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
}

.lc-btn-link:hover:not(:disabled) {
    text-decoration-color: currentColor;
}

.lc-btn-link:disabled {
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: none;
}

/* ============================================================
   БОКОВАЯ ПАНЕЛЬ АВТОРИЗАЦИИ
   ============================================================ */
.lc-auth-side {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 100%);
    color: #fff;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.lc-auth-side::after {
    content: '';
    position: absolute;
    top: -30%; right: -30%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.lc-auth-side-inner {
    position: relative;
    z-index: 1;
    max-width: 320px;
}

.lc-auth-side-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    color: #4fc3f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.lc-auth-side-icon-sms {
    color: #4ade80;
}

.lc-auth-side h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.lc-auth-side p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 28px;
}

.lc-auth-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lc-auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.2s;
}

.lc-auth-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.lc-auth-feature i {
    color: #4fc3f7;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.lc-auth-footer {
    margin-top: auto;
    padding-top: 24px;
    text-align: center;
}

.lc-link-back {
    color: var(--lc-gray);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.lc-link-back:hover {
    color: var(--lc-primary);
}

/* ============================================================
   АДАПТИВ АВТОРИЗАЦИИ
   ============================================================ */
@media (max-width: 768px) {
    .lc-auth-wrap {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
    
    .lc-auth-side {
        display: none;
    }
    
    .lc-auth-card {
        padding: 36px 24px;
    }
    
    .lc-auth-header h1 {
        font-size: 1.3rem;
    }
    
    .lc-code-input {
        font-size: 1.6rem;
        letter-spacing: 8px;
    }
}

/* ============================================================
   ЛИЧНЫЙ КАБИНЕТ (DASHBOARD)
   ============================================================ */
.lc-dashboard-page {
    background: #f1f5f9;
    padding-bottom: 40px;
}

.lc-header {
    background: #fff;
    border-bottom: 1px solid var(--lc-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.lc-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.lc-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--lc-primary), var(--lc-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.lc-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.lc-brand-text strong {
    font-size: 0.95rem;
    color: var(--lc-dark);
    font-weight: 800;
}

.lc-brand-text small {
    font-size: 0.7rem;
    color: var(--lc-gray);
    font-weight: 500;
}

.lc-user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lc-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--lc-light);
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--lc-text);
}

.lc-user-info i {
    color: var(--lc-primary);
    font-size: 1.05rem;
}

.lc-logout-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--lc-border);
    background: #fff;
    color: var(--lc-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.lc-logout-btn:hover {
    background: var(--lc-danger);
    border-color: var(--lc-danger);
    color: #fff;
    transform: scale(1.05);
}

.lc-main {
    padding: 32px 24px;
}

.lc-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Приветствие */
.lc-welcome {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-radius: 20px;
    border: 1px solid var(--lc-border);
    box-shadow: var(--lc-shadow);
}

.lc-welcome-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.lc-welcome-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--lc-dark);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.lc-welcome-sub {
    font-size: 0.88rem;
    color: var(--lc-gray);
}

/* Секции */
.lc-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lc-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 4px;
}

.lc-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--lc-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.2px;
}

.lc-section-title i {
    color: var(--lc-primary);
    font-size: 1rem;
}

.lc-section-count {
    background: var(--lc-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 20px;
    min-width: 26px;
    text-align: center;
}

/* ============================================================
   КАРТОЧКА АКТИВНОЙ ЗАПИСИ
   ============================================================ */
.lc-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lc-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--lc-border);
    box-shadow: var(--lc-shadow);
    transition: all 0.2s;
}

.lc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.lc-card-active {
    border-left: 4px solid var(--lc-primary);
}

.lc-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid var(--lc-border);
    border-left: 4px solid transparent;
    flex-wrap: wrap;
}

.lc-card-date {
    text-align: center;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--lc-primary), var(--lc-primary-dark));
    color: #fff;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.lc-card-day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.lc-card-month {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.lc-card-datetime {
    flex: 1;
    min-width: 0;
}

.lc-card-date-human {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lc-dark);
    margin-bottom: 4px;
}

.lc-card-time {
    font-size: 0.88rem;
    color: var(--lc-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lc-card-time i {
    font-size: 0.82rem;
}

.lc-status-pill {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.lc-card-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lc-card-car {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lc-card-car-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--lc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.lc-card-car-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.lc-card-car-model {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lc-dark);
}

.lc-card-car-plate {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--lc-primary);
    background: #eff6ff;
    padding: 2px 10px;
    border-radius: 6px;
    align-self: flex-start;
    letter-spacing: 1px;
}

.lc-card-service {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: var(--lc-light);
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--lc-text);
    line-height: 1.5;
    align-items: flex-start;
}

.lc-card-service i {
    color: var(--lc-warning);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.lc-card-hint {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    border-left: 3px solid var(--lc-primary);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--lc-text);
    align-items: flex-start;
    line-height: 1.5;
}

.lc-card-hint i {
    color: var(--lc-primary);
    font-size: 0.9rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.lc-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    background: var(--lc-light);
    border-top: 1px solid var(--lc-border);
    flex-wrap: wrap;
}

.lc-card-contacts {
    display: flex;
    gap: 8px;
}

/* История */
.lc-list-history {
    gap: 10px;
}

.lc-card-history {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    border-left: 4px solid #cbd5e1;
    opacity: 0.95;
}

.lc-card-history:hover {
    transform: translateX(4px);
}

.lc-card-history-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 16px;
    border-right: 1px dashed var(--lc-border);
    min-width: 90px;
    flex-shrink: 0;
}

.lc-card-history-date {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--lc-dark);
}

.lc-card-history-time {
    font-size: 0.75rem;
    color: var(--lc-gray);
    margin-top: 2px;
}

.lc-card-history-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lc-card-history-car {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--lc-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lc-card-history-car i {
    color: var(--lc-gray);
}

.lc-plate {
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--lc-gray);
    background: var(--lc-light);
    padding: 2px 8px;
    border-radius: 4px;
}

.lc-card-history-service {
    font-size: 0.8rem;
    color: var(--lc-gray);
    line-height: 1.4;
}

.lc-card-history-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--lc-success);
    background: #f0fdf4;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #bbf7d0;
    white-space: nowrap;
    flex-shrink: 0;
}

/* CTA */
.lc-cta {
    margin-top: 8px;
}

.lc-cta-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 100%);
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.lc-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.lc-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(79, 195, 247, 0.15);
    color: #4fc3f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.lc-cta-text {
    flex: 1;
    min-width: 200px;
    position: relative;
    z-index: 1;
}

.lc-cta-text h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.lc-cta-text p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.lc-cta .lc-btn {
    position: relative;
    z-index: 1;
    background: #fff;
    color: var(--lc-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.lc-cta .lc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

/* Пустое состояние */
.lc-empty {
    text-align: center;
    padding: 60px 24px;
    background: #fff;
    border-radius: 20px;
    border: 2px dashed var(--lc-border);
}

.lc-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--lc-light);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.lc-empty h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--lc-dark);
    margin-bottom: 8px;
}

.lc-empty p {
    font-size: 0.9rem;
    color: var(--lc-gray);
    margin-bottom: 20px;
}

/* Подвал */
.lc-footer {
    margin-top: 40px;
    padding: 24px;
    border-top: 1px solid var(--lc-border);
    background: #fff;
}

.lc-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--lc-gray);
    flex-wrap: wrap;
}

.lc-footer a {
    color: var(--lc-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lc-footer a:hover {
    text-decoration: underline;
}

/* ============================================================
   МОДАЛКИ (без alert/confirm/prompt)
   ============================================================ */
.lc-modal {
    position: fixed;
    inset: 0;
    background: rgba(13, 27, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.lc-modal.lc-modal-open {
    opacity: 1;
    visibility: visible;
}

.lc-modal-content {
    background: #fff;
    border-radius: 24px;
    max-width: 420px;
    width: 100%;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lc-modal.lc-modal-open .lc-modal-content {
    transform: scale(1) translateY(0);
}

.lc-modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.lc-modal-icon-error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: var(--lc-danger);
}

.lc-modal-icon-warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

.lc-modal-icon-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: var(--lc-success);
}

.lc-modal-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--lc-dark);
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.lc-modal-text {
    font-size: 0.92rem;
    color: var(--lc-gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.lc-modal-text strong {
    color: var(--lc-dark);
}

.lc-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.lc-modal-actions .lc-btn {
    flex: 1;
    min-width: 130px;
    padding: 14px 20px;
    font-size: 0.92rem;
}

.lc-modal-content > .lc-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.92rem;
}

/* ============================================================
   АДАПТИВ КАБИНЕТА
   ============================================================ */
@media (max-width: 640px) {
    .lc-header-inner {
        padding: 12px 16px;
    }
    
    .lc-brand-text small {
        display: none;
    }
    
    .lc-user-info span {
        display: none;
    }
    
    .lc-user-info {
        padding: 8px;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        justify-content: center;
    }
    
    .lc-user-info i {
        font-size: 1.2rem;
    }
    
    .lc-main {
        padding: 20px 16px;
    }
    
    .lc-welcome {
        padding: 18px 20px;
        gap: 14px;
    }
    
    .lc-welcome-icon {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }
    
    .lc-welcome-title {
        font-size: 1.1rem;
    }
    
    .lc-card-header {
        padding: 14px 18px;
        gap: 12px;
    }
    
    .lc-card-date {
        padding: 6px 11px;
    }
    
    .lc-card-day {
        font-size: 1.25rem;
    }
    
    .lc-card-date-human {
        font-size: 0.92rem;
    }
    
    .lc-card-body {
        padding: 16px 18px;
    }
    
    .lc-card-footer {
        padding: 14px 18px;
        flex-direction: column;
        align-items: stretch;
    }
    
    .lc-card-footer .lc-btn {
        width: 100%;
        justify-content: center;
    }
    
    .lc-card-contacts .lc-btn {
        width: 100%;
    }
    
    .lc-card-history {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 18px;
    }
    
    .lc-card-history-left {
        padding-right: 12px;
        border-right: none;
        border-bottom: 1px dashed var(--lc-border);
        padding-bottom: 8px;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-width: 0;
    }
    
    .lc-card-history-badge {
        width: 100%;
        justify-content: center;
    }
    
    .lc-cta-inner {
        padding: 20px;
        gap: 16px;
    }
    
    .lc-cta-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .lc-cta .lc-btn {
        width: 100%;
        justify-content: center;
    }
    
    .lc-modal-content {
        padding: 28px 22px;
    }
    
    .lc-modal-actions {
        flex-direction: column-reverse;
    }
    
    .lc-modal-actions .lc-btn {
        width: 100%;
    }
}
/* ============================================================
   ДОП. ИНФО В КАРТОЧКЕ (VIN, пробег)
   ============================================================ */
.lc-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 0.82rem;
}

.lc-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.78rem;
}

.lc-card-meta-item i {
    color: #64748b;
    font-size: 0.72rem;
}

.lc-card-meta-label {
    color: #64748b;
    font-weight: 600;
}

.lc-card-meta-value {
    color: #0d1b2a;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* ============================================================
   ИСТОРИЯ — КОМПАКТНЫЙ ВИД
   ============================================================ */
.lc-list-history {
    gap: 8px;
}

.lc-history-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 14px;
    transition: all 0.2s;
}

.lc-history-item:hover {
    border-color: #cfe2ff;
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.08);
    transform: translateX(4px);
}

.lc-history-item.lc-history-cancelled {
    opacity: 0.7;
    background: #fafafa;
}

.lc-history-item.lc-history-cancelled .lc-history-car-model,
.lc-history-item.lc-history-cancelled .lc-history-service {
    text-decoration: line-through;
    text-decoration-color: rgba(148, 163, 184, 0.6);
}

.lc-history-item.lc-history-hidden {
    display: none;
}

.lc-history-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.lc-history-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lc-history-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.lc-history-date {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0d1b2a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lc-history-time {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lc-history-time i {
    font-size: 0.7rem;
}

.lc-history-status {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.lc-history-car {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #334155;
}

.lc-history-car i {
    color: #94a3b8;
    font-size: 0.78rem;
}

.lc-history-car-model {
    font-weight: 700;
}

.lc-history-plate {
    font-family: 'Courier New', monospace;
    background: #f1f5f9;
    color: #475569;
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.lc-history-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: #64748b;
}

.lc-history-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lc-history-meta i {
    font-size: 0.68rem;
    color: #94a3b8;
}

.lc-history-service {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}

.lc-history-service i {
    color: #ff9800;
    font-size: 0.7rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ============================================================
   КНОПКА "ПОКАЗАТЬ ЕЩЁ"
   ============================================================ */
.lc-show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    margin-top: 4px;
    background: #fff;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lc-show-more:hover {
    border-color: #0d6efd;
    border-style: solid;
    color: #0d6efd;
    background: #f0f7ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.1);
}

.lc-show-more i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.lc-show-more.lc-show-more-active {
    border-color: #0d6efd;
    border-style: solid;
    color: #0d6efd;
    background: #f0f7ff;
}

.lc-show-more.lc-show-more-active i {
    transform: rotate(180deg);
}

.lc-count-active {
    background: #198754 !important;
}

/* ============================================================
   МОБИЛЬНЫЙ
   ============================================================ */
@media (max-width: 640px) {
    .lc-history-item {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .lc-history-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .lc-history-date {
        font-size: 0.85rem;
    }
    
    .lc-history-status {
        font-size: 0.68rem;
    }
    
    .lc-history-car {
        font-size: 0.8rem;
    }
    
    .lc-card-meta {
        padding: 8px 10px;
        gap: 6px;
    }
    
    .lc-card-meta-item {
        padding: 3px 8px;
        font-size: 0.72rem;
    }
}
/* ============================================================
   ПРИВЕТСТВИЕ С КНОПКОЙ ЗАПИСИ
   ============================================================ */
.lc-welcome-content {
    flex: 1;
    min-width: 0;
}

.lc-welcome-cta {
    flex-shrink: 0;
}

/* ============================================================
   МОДАЛКА ЗАПИСИ
   ============================================================ */
.lc-modal-book {
    padding: 20px;
}

.lc-modal-book .lc-modal-content {
    max-width: 620px;
    padding: 0;
    text-align: left;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lc-book-content {
    background: #f8fafc;
}

.lc-book-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 100%);
    color: #fff;
    position: relative;
    flex-shrink: 0;
}

.lc-book-header-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: #4fc3f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.lc-book-header-text {
    flex: 1;
    min-width: 0;
}

.lc-book-header-text h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: #fff;
}

.lc-book-header-text p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.lc-book-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lc-book-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.lc-book-form {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lc-book-form::-webkit-scrollbar {
    width: 6px;
}

.lc-book-form::-webkit-scrollbar-track {
    background: transparent;
}

.lc-book-form::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* Секция */
.lc-book-section {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
}

.lc-book-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.lc-book-section-title i {
    color: #0d6efd;
    font-size: 0.8rem;
}

/* Строки */
.lc-book-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.lc-book-row:last-child {
    margin-bottom: 0;
}

.lc-book-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.lc-book-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
}

.lc-req {
    color: #dc3545;
}

.lc-optional {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.72rem;
}

.lc-book-input,
.lc-book-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    background: #fff;
    color: #0d1b2a;
    transition: all 0.2s;
    font-family: inherit;
    outline: none;
}

.lc-book-input:focus,
.lc-book-textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.lc-book-input::placeholder,
.lc-book-textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.lc-book-textarea {
    resize: vertical;
    min-height: 70px;
    line-height: 1.4;
}

/* Слоты */
.lc-book-slots {
    margin-top: 10px;
    font-size: 0.78rem;
}

.lc-slots-loading {
    color: #64748b;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lc-slots-hours {
    background: #eff6ff;
    color: #1e40af;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.lc-slots-warn {
    background: #fef3c7;
    color: #92400e;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.lc-slots-free {
    background: #f0fdf4;
    color: #15803d;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.lc-slots-busy {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
}

.lc-slots-busy-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #64748b;
    margin-bottom: 6px;
}

.lc-slots-busy-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lc-slot-busy {
    background: #fee2e2;
    color: #991b1b;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* Мои авто */
.lc-book-cars {
    margin-bottom: 12px;
}

.lc-book-cars-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

.lc-book-cars-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lc-book-car-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lc-book-car-chip:hover {
    border-color: #0d6efd;
    background: #f0f7ff;
    color: #0d6efd;
    transform: translateY(-1px);
}

.lc-book-car-chip.active {
    border-color: #0d6efd;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #0d6efd;
    box-shadow: 0 3px 10px rgba(13, 110, 253, 0.15);
}

.lc-book-car-chip i {
    color: #64748b;
    font-size: 0.78rem;
}

.lc-book-car-chip.active i {
    color: #0d6efd;
}

.lc-book-car-chip .chip-plate {
    font-family: 'Courier New', monospace;
    background: #fff;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
}

.lc-book-car-chip.active .chip-plate {
    background: #fff;
    color: #0d6efd;
}

/* Ошибка */
.lc-book-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #991b1b;
    font-size: 0.85rem;
    font-weight: 600;
    animation: lcShake 0.4s ease;
}

.lc-book-error i {
    font-size: 1rem;
    color: #dc2626;
    flex-shrink: 0;
}

@keyframes lcShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* Футер */
.lc-book-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 16px 24px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 640px) {
    .lc-welcome {
        flex-direction: column;
        align-items: stretch;
    }
    
    .lc-welcome-cta {
        width: 100%;
        justify-content: center;
    }
    
    .lc-modal-book {
        padding: 0;
    }
    
    .lc-modal-book .lc-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        height: 100vh;
    }
    
    .lc-book-header {
        padding: 16px 18px;
    }
    
    .lc-book-header-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lc-book-form {
        padding: 16px;
    }
    
    .lc-book-section {
        padding: 14px;
        border-radius: 12px;
    }
    
    .lc-book-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .lc-book-footer {
        padding: 12px 16px;
    }
    
    .lc-book-footer .lc-btn {
        flex: 1;
        padding: 14px 16px;
    }
}
/* ============================================================
   МОДАЛКА ЗАПИСИ
   ============================================================ */
.lc-modal-book {
    padding: 20px;
}

.lc-modal-book .lc-modal-content {
    max-width: 620px;
    padding: 0;
    text-align: left;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lc-book-content {
    background: #f8fafc;
}

.lc-book-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 100%);
    color: #fff;
    flex-shrink: 0;
}

.lc-book-header-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: #4fc3f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.lc-book-header-text { flex: 1; min-width: 0; }
.lc-book-header-text h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: #fff;
}
.lc-book-header-text p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.lc-book-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lc-book-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.lc-book-form {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lc-book-form::-webkit-scrollbar { width: 6px; }
.lc-book-form::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

.lc-book-section {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
}

.lc-book-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.lc-book-section-title i {
    color: #0d6efd;
    font-size: 0.8rem;
}

.lc-book-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.lc-book-row:last-child { margin-bottom: 0; }

.lc-book-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.lc-book-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
}
.lc-req { color: #dc3545; }
.lc-optional {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.72rem;
}

.lc-book-input,
.lc-book-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    background: #fff;
    color: #0d1b2a;
    transition: all 0.2s;
    font-family: inherit;
    outline: none;
}
.lc-book-input:focus,
.lc-book-textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}
.lc-book-input::placeholder,
.lc-book-textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.lc-book-textarea {
    resize: vertical;
    min-height: 70px;
    line-height: 1.4;
}

/* ============================================================
   ЗАГРУЗКА АВТО
   ============================================================ */
.lc-book-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
}
.lc-book-loading i { color: #0d6efd; }

.lc-book-cars-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #eff6ff;
    border: 1px solid #93c5fd;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 12px;
}
.lc-book-cars-hint i { color: #0d6efd; }

.lc-book-cars-hint.lc-hint-new {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}
.lc-book-cars-hint.lc-hint-new i { color: #16a34a; }

/* ============================================================
   КАРТОЧКИ АВТО В МОДАЛКЕ
   ============================================================ */
.lc-book-cars-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lc-car-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-family: inherit;
    width: 100%;
    position: relative;
}
.lc-car-chip:hover {
    border-color: #0d6efd;
    background: #f8fbff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.1);
}
.lc-car-chip.active {
    border-color: #0d6efd;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.2);
}

.lc-car-chip-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.2s;
}
.lc-car-chip.active .lc-car-chip-icon {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.lc-car-chip-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.lc-car-chip-model {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0d1b2a;
    line-height: 1.2;
}

.lc-car-chip-plate {
    display: inline-flex;
    align-self: flex-start;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0d6efd;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}
.lc-car-chip.active .lc-car-chip-plate {
    background: #fff;
}

.lc-car-chip-mileage {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}
.lc-car-chip-mileage i {
    font-size: 0.65rem;
    color: #94a3b8;
}

.lc-car-chip-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: all 0.2s;
    opacity: 0;
    transform: scale(0.6);
}
.lc-car-chip.active .lc-car-chip-check {
    background: #0d6efd;
    opacity: 1;
    transform: scale(1);
}

/* ============================================================
   СЛОТЫ
   ============================================================ */
.lc-book-slots {
    margin-top: 10px;
    font-size: 0.78rem;
}

.lc-slots-loading {
    color: #64748b;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lc-slots-hours {
    background: #eff6ff;
    color: #1e40af;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.lc-slots-warn {
    background: #fef3c7;
    color: #92400e;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.lc-slots-free {
    background: #f0fdf4;
    color: #15803d;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.lc-slots-busy {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
}

.lc-slots-busy-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #64748b;
    margin-bottom: 6px;
}

.lc-slots-busy-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lc-slot-busy {
    background: #fee2e2;
    color: #991b1b;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* ============================================================
   ОШИБКА
   ============================================================ */
.lc-book-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #991b1b;
    font-size: 0.85rem;
    font-weight: 600;
    animation: lcShake 0.4s ease;
}
.lc-book-error i {
    font-size: 1rem;
    color: #dc2626;
    flex-shrink: 0;
}
@keyframes lcShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* ============================================================
   ФУТЕР МОДАЛКИ
   ============================================================ */
.lc-book-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 16px 24px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 640px) {
    .lc-welcome {
        flex-direction: column;
        align-items: stretch;
    }
    .lc-welcome-cta {
        width: 100%;
        justify-content: center;
    }
    
    .lc-modal-book { padding: 0; }
    .lc-modal-book .lc-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        height: 100vh;
    }
    
    .lc-book-header { padding: 16px 18px; }
    .lc-book-header-icon { width: 40px; height: 40px; font-size: 1rem; }
    .lc-book-form { padding: 16px; }
    .lc-book-section { padding: 14px; border-radius: 12px; }
    .lc-book-row { grid-template-columns: 1fr; gap: 10px; }
    
    .lc-book-footer { padding: 12px 16px; }
    .lc-book-footer .lc-btn { flex: 1; padding: 14px 16px; }
    
    .lc-car-chip { padding: 12px 14px; gap: 10px; }
    .lc-car-chip-icon { width: 38px; height: 38px; font-size: 1rem; }
    .lc-car-chip-model { font-size: 0.88rem; }
}