/* ========================================
   Личный кабинет партнёра — Стили
   Тема: синяя (course-project), mobile-first
   ======================================== */

/* Fix: standalone pages need scrolling */
.lk-page html,
.lk-page body {
    height: auto !important;
    overflow: auto !important;
}

.lk-page body {
    background: #f5f7f9 !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.lk-page body::after {
    display: none !important;
}

/* ========================================
   Layout
   ======================================== */
.lk-content {
    flex: 1;
    max-width: 960px;
    margin: 100px auto 40px;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

.lk-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.09);
    border: 1px solid #eaeaea;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.lk-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.lk-card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
}

/* ========================================
   Auth Cards
   ======================================== */
.lk-auth-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.09);
    border: 1px solid #eaeaea;
    padding: 36px 40px 32px;
    max-width: 440px;
    margin: 0 auto;
    box-sizing: border-box;
}

.lk-auth-card h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: #1a202c;
}

.lk-auth-subtitle {
    color: #666;
    font-size: 15px;
    margin: 0 0 24px;
    line-height: 1.5;
}

.lk-auth-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.lk-auth-links p {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
}

.lk-auth-links a {
    color: var(--project-blue, #2B6CB0);
    text-decoration: underline;
}

.lk-auth-links a:hover {
    color: var(--project-blue-hover, #245a96);
}

/* ========================================
   Dashboard
   ======================================== */
.lk-dashboard-header {
    margin-bottom: 24px;
}

.lk-dashboard-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
}

.lk-dashboard-subtitle {
    color: #666;
    font-size: 16px;
    margin: 4px 0 0;
}

.lk-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.lk-stat-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.09);
    border: 1px solid #eaeaea;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lk-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.lk-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 6px;
}

.lk-stat-label {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

.lk-stat-card--success .lk-stat-value { color: #27ae60; }
.lk-stat-card--blue .lk-stat-value { color: var(--project-blue, #2B6CB0); }
.lk-stat-card--info .lk-stat-value { color: #3182ce; }

/* ========================================
   Quick Links
   ======================================== */
.lk-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.lk-quick-link {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.09);
    border: 1px solid #eaeaea;
    padding: 18px 22px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.lk-quick-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--project-blue, #2B6CB0);
}

.lk-quick-link-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #EBF4FF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--project-blue, #2B6CB0);
    flex-shrink: 0;
}

.lk-quick-link-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lk-quick-link-text strong {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
}

.lk-quick-link-text span {
    font-size: 13px;
    color: #718096;
}

/* ========================================
   Tables
   ======================================== */
.lk-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.lk-table th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 13px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.lk-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #2d3748;
}

.lk-table tbody tr:hover {
    background: #f7fafc;
}

.lk-date {
    white-space: nowrap;
    color: #718096;
    font-size: 13px;
}

/* ========================================
   Status Labels
   ======================================== */
.lk-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.lk-status--new { background: #EBF4FF; color: #2B6CB0; }
.lk-status--contacted { background: #FEF3C7; color: #92400E; }
.lk-status--consultation { background: #F3E8FF; color: #6B21A8; }
.lk-status--deal { background: #D1FAE5; color: #065F46; }
.lk-status--paid { background: #D1FAE5; color: #065F46; }
.lk-status--completed { background: #ECFDF5; color: #065F46; }
.lk-status--cancelled { background: #FEE2E2; color: #991B1B; }
.lk-status--rejected { background: #FEE2E2; color: #991B1B; }
.lk-status--pending { background: #FEF3C7; color: #92400E; }

.lk-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--project-blue, #2B6CB0);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.lk-empty-state {
    text-align: center;
    padding: 32px 20px;
    color: #718096;
}

.lk-empty-state p {
    margin: 0;
    font-size: 15px;
}

.lk-empty-state a {
    color: var(--project-blue, #2B6CB0);
    text-decoration: underline;
}

/* ========================================
   Forms
   ======================================== */
.lk-form {
    max-width: 100%;
}

.lk-form-group {
    margin-bottom: 18px;
}

.lk-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.lk-form-group input,
.lk-form-group textarea,
.lk-form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    color: #333;
}

.lk-form-group input:focus,
.lk-form-group textarea:focus,
.lk-form-group select:focus {
    outline: none;
    border-color: var(--project-blue, #2B6CB0);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.12);
}

.lk-form-group input[disabled] {
    background: #f6f8fa;
    color: #888;
    cursor: not-allowed;
}

.lk-form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.lk-form-group--checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    cursor: pointer;
}

.lk-form-group--checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--project-blue, #2B6CB0);
}

.lk-form-group--checkbox label a {
    color: var(--project-blue, #2B6CB0);
    text-decoration: underline;
}

.lk-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lk-field-hint {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
    line-height: 1.35;
}

.lk-required {
    color: #e74c3c;
}

/* ========================================
   Buttons
   ======================================== */
.lk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Gilroy', sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1.2;
}

.lk-btn--primary {
    background: var(--project-blue, #2B6CB0);
    color: #fff;
}

.lk-btn--primary:hover {
    background: var(--project-blue-hover, #245a96);
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.3);
}

.lk-btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.lk-btn--full {
    width: 100%;
}

.lk-btn--small {
    padding: 6px 14px;
    font-size: 13px;
    display: inline;
    background: var(--project-blue, #2B6CB0);
    color: #fff;
    border-radius: 6px;
}

/* ========================================
   Alerts
   ======================================== */
.lk-alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.lk-alert--error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.lk-alert--success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.lk-alert--warning {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
}

.lk-alert a {
    color: inherit;
    text-decoration: underline;
}

/* ========================================
   Modal
   ======================================== */
.lk-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    display: none;
}

.lk-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.lk-modal-content {
    position: relative;
    z-index: 2;
    animation: lkModalSlideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.lk-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.lk-modal-close:hover {
    color: #333;
}

@keyframes lkModalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ========================================
   Offer Status
   ======================================== */
.lk-offer-status {
    padding: 0;
}

/* ========================================
   Header link
   ======================================== */
.lk-header-link {
    color: var(--project-blue, #2B6CB0);
    text-decoration: underline;
    font-size: 14px;
}

.lk-header-link:hover {
    color: var(--project-blue-hover, #245a96);
}

/* ========================================
   Auth pages — minimal header
   ======================================== */
.lk-auth-page {
  background: #f5f7f9 !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lk-auth-page .header-full {
  display: none;
}

/* ========================================
   Auth card centered (login)
   ======================================== */
.lk-auth-wrap .lk-auth-card {
  margin: 0;
}

/* ========================================
   Auth split layout (register)
   ======================================== */
.lk-auth-wrap {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.lk-auth-split {
  display: flex;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  max-width: 960px;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
}

.lk-auth-split__brand {
  flex: 0 0 380px;
  background: linear-gradient(135deg, #1A365D 0%, #2B6CB0 50%, #3182CE 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  box-sizing: border-box;
}

.lk-auth-split__brand-inner {
  text-align: center;
  max-width: 300px;
}

.lk-auth-split__icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.lk-auth-split__title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}

.lk-auth-split__subtitle {
  font-size: 16px;
  opacity: 0.85;
  margin: 0 0 28px;
  line-height: 1.5;
}

.lk-auth-split__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.lk-auth-split__benefits li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.4;
}

.lk-auth-split__benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lk-auth-split__benefits li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 16px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.lk-auth-split__form {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
}

.lk-auth-split__form-inner {
  width: 100%;
  max-width: 420px;
}

.lk-auth-split__form-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 24px;
}

.lk-auth-split__form .lk-form-group--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}

.lk-auth-split__form .lk-form-group--checkbox label span {
  flex: 1;
}

/* ========================================
   Document modal (base)
   ======================================== */
.doc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.doc-modal.open {
  display: flex;
}
.doc-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.doc-modal__content {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  max-width: 740px;
  width: 92vw;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: lkModalSlideUp 0.3s ease;
}
.doc-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 3;
}
.doc-modal__header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #1a202c;
}
.doc-modal__close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.doc-modal__close:hover {
  color: #333;
}
.doc-modal__body {
  padding: 20px 28px 32px;
}
.doc-modal__body h1,
.doc-modal__body h2,
.doc-modal__body h3 {
  color: #1a202c;
}
.doc-modal__body p {
  margin: 0 0 12px;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

/* ========================================
   Document modal (LK overrides)
   ======================================== */
.lk-auth-page .doc-modal__content {
  max-width: 800px;
  width: 90%;
}

.lk-auth-page .doc-modal__body {
  max-height: 70vh;
  overflow-y: auto;
}

/* ========================================
   Auth page doc modal — legal docs
   ======================================== */
.lk-auth-page .doc-modal__body {
  padding: 32px 36px;
}
.lk-auth-page .doc-modal__body h1 {
  font-size: 24px;
  margin-top: 0;
}
.lk-auth-page .doc-modal__body h2 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 12px;
}
.lk-auth-page .doc-modal__body p {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* ========================================
   Split layout — responsive
   ======================================== */
@media (max-width: 768px) {
  .lk-auth-split {
    flex-direction: column;
    min-height: auto;
  }
  .lk-auth-split__brand {
    flex: none;
    padding: 32px 24px;
  }
  .lk-auth-split__form {
    padding: 28px 20px;
  }
  .lk-auth-split__form-inner {
    max-width: 100%;
  }
  .lk-auth-split__title {
    font-size: 22px;
  }
  .lk-auth-wrap {
    padding: 12px;
    align-items: flex-start;
  }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .lk-content {
        margin-top: 80px;
        padding: 0 14px;
    }

    .lk-auth-card {
        padding: 24px 20px;
    }

    .lk-auth-card h2 {
        font-size: 22px;
    }

    .lk-card {
        padding: 20px;
    }

    .lk-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .lk-stat-card {
        padding: 18px 14px;
    }

    .lk-stat-value {
        font-size: 26px;
    }

    .lk-quick-links {
        grid-template-columns: 1fr;
    }

    .lk-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lk-dashboard-header h2 {
        font-size: 22px;
    }

    .lk-table th,
    .lk-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .lk-empty-state {
        padding: 24px 16px;
    }
}

@media (max-width: 480px) {
    .lk-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* ========================================
   Minimal topbar (replaces course header)
   ======================================== */
.lk-topbar {
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-sizing: border-box;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  gap: 0;
}

.lk-topbar__left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 24px;
}

.lk-topbar__logo {
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #2B6CB0;
  text-decoration: none;
  white-space: nowrap;
}

.lk-topbar__logo:hover {
  color: #245a96;
}

.lk-topbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.lk-topbar__link {
  color: #555;
  text-decoration: none;
  font-family: 'Gilroy', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.lk-topbar__link:hover {
  background: #f0f4f8;
  color: #2B6CB0;
}

.lk-topbar__link--active {
  background: #EBF4FF;
  color: #2B6CB0;
  font-weight: 600;
}

.lk-topbar__link--apply {
  background: #2B6CB0;
  color: #fff !important;
  font-weight: 600;
  padding: 6px 14px;
  position: relative;
  overflow: hidden;
}

.lk-topbar__link--apply:hover {
  background: #245a96 !important;
  color: #fff !important;
}

.lk-topbar__link--exit {
  color: #999;
}

.lk-topbar__link--exit:hover {
  color: #e53e3e;
  background: transparent;
}

.lk-topbar__right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.lk-topbar__name {
  font-family: 'Gilroy', sans-serif;
  font-size: 13px;
  color: #666;
  font-weight: 500;
  white-space: nowrap;
}

/* Adjust content padding for new topbar */
.lk-page.lk-auth-in .lk-content {
  margin-top: 72px;
}
.lk-page.lk-auth-in .lk-content--dashboard {
  margin-top: 72px;
}

/* ========================================
   Toast Notification (like HeadHunter)
   ======================================== */
.lk-toast-notification {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #EAB308;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 16px 20px;
  margin-bottom: 20px;
  animation: lkToastSlide 0.4s ease;
}

.lk-toast-notification--warning {
  border-left-color: #2B6CB0;
}

@keyframes lkToastSlide {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.lk-toast-notification__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.lk-toast-notification__content {
  flex: 1;
  min-width: 0;
}

.lk-toast-notification__content strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 4px;
}

.lk-toast-notification__content p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.lk-toast-email {
  font-weight: 600;
  color: #2B6CB0;
}

.lk-toast-notification__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}

.lk-toast-notification__btn {
  white-space: nowrap;
}

.lk-toast-notification__resend {
  white-space: nowrap;
  font-size: 12px;
}

/* Ghost button for resend */
.lk-btn--ghost {
  background: transparent;
  border: none;
  color: #2B6CB0;
  cursor: pointer;
  font-weight: 500;
  font-size: 12px;
  padding: 4px 0;
  font-family: 'Gilroy', sans-serif;
}
.lk-btn--ghost:hover {
  color: #1a4b7a;
  text-decoration: underline;
}

/* Apply button in apps card */
.lk-btn--apply {
  background: #2B6CB0;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: 'Gilroy', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
  margin-left: auto;
  position: relative;
  overflow: hidden;
}
.lk-btn--apply:hover {
  background: #245a96;
}
.lk-btn--apply svg {
  flex-shrink: 0;
}

.lk-apps-card__add-btn {
  margin-left: auto;
}

.lk-apps-card__empty {
  text-align: center;
  padding: 32px 20px;
}
.lk-apps-card__empty p {
  margin: 0 0 16px;
  font-size: 15px;
  color: #888;
}

/* ========================================
   Verify button fix — white text
   ======================================== */
.lk-btn--small {
  color: #fff !important;
  text-decoration: none !important;
}

/* ========================================
   LK Apply Modal
   ======================================== */
.lk-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lk-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lk-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.lk-modal__content {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  max-height: 90vh;
  overflow-y: auto;
  animation: lkModalSlideUp 0.3s ease;
}

.lk-apply-modal {
  width: 480px;
  max-width: 92vw;
  padding: 0;
}

.lk-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 3;
}

.lk-modal__header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
}

.lk-modal__close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.lk-modal__body {
  padding: 20px 24px 24px;
}

/* ========================================
   Document modal overrides (in LK context)
   ======================================== */
.lk-auth-in .doc-modal__content {
  max-width: 800px;
  width: 90vw;
  z-index: 10001;
}
.lk-auth-in .doc-modal {
  z-index: 10000;
}
.lk-auth-in .doc-modal__body {
  padding: 28px 32px;
}

/* ========================================
   Shine/wave effect on LK primary buttons — defined below
   ======================================== */

/* ========================================
   Verify button fix — white text
   ======================================== */
@keyframes lk-wave-flow {
  0%   { transform: translateX(-130%) skewX(-20deg); }
  50%  { transform: translateX(80%)  skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}

.lk-btn--primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.lk-btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 40%,
    rgba(255, 255, 255, 0.30) 55%,
    rgba(255, 255, 255, 0.15) 70%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-20deg);
  animation: lk-wave-flow 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.lk-btn--primary:hover::before {
  animation-duration: 1.2s;
}

.lk-btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* ========================================
   Verify details — "Код не пришёл?" toggle
   ======================================== */
.lk-verify-details {
  margin: 0 0 16px;
  font-size: 13px;
}
.lk-verify-summary {
  color: #2B6CB0;
  cursor: pointer;
  font-weight: 500;
  padding: 4px 0;
  user-select: none;
  display: inline-block;
}
.lk-verify-summary:hover {
  color: #1a4b7a;
}
.lk-verify-details[open] .lk-verify-summary {
  margin-bottom: 8px;
}
.lk-verify-details-body {
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #e8ecf0;
  animation: lkFadeIn 0.2s ease;
}
.lk-verify-details-body p {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

/* ========================================
   Toast verify hint — appears after manual resend
   ======================================== */
.lk-verify-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 12px;
  background: #fefce8;
  border-radius: 8px;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  animation: lkFadeIn 0.3s ease;
}
.lk-verify-hint strong {
  color: #444;
}

@keyframes lkFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
