/*
 *= require simple_calendar
 *= require_tree .
 *= require_self
 */

/* ── Calendar ──────────────────────────────────────────── */

.simple-calendar {
  width: 100%;
}

.simple-calendar table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #30363d;
}

.simple-calendar th {
  padding: 10px;
  border-bottom: 1px solid #30363d;
  background: #1c2128;
  text-align: center;
  color: #8b949e;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.simple-calendar td {
  height: 90px;
  vertical-align: top;
  border: 1px solid #30363d;
  padding: 6px;
  width: 14.28%;
  background: #0d1117;
  color: #e6edf3;
  font-size: 12px;
}

.simple-calendar .day { font-weight: 600; margin-bottom: 4px; color: #8b949e; }
.simple-calendar .today { background: rgba(34, 197, 94, 0.08); border-color: #22c55e; }
.simple-calendar .past { opacity: 0.4; }
.simple-calendar .has-events { background: rgba(59, 130, 246, 0.06); }

/* ── Buttons ───────────────────────────────────────────── */

.btn-bubble {
  display: inline-block;
  padding: 9px 18px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-bubble:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-bubble.btn-small { padding: 5px 12px; font-size: 12px; }

.btn-bubble.btn-primary {
  background: #22c55e;
  color: #0d1117;
}

.btn-bubble.btn-secondary {
  background: #21262d;
  color: #e6edf3;
  border: 1px solid #30363d;
}

.btn-bubble.btn-secondary:hover { background: #2d333b; color: #e6edf3; }

.btn-bubble.btn-danger {
  background: #ef4444;
  color: white;
}

.actions-bar {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ── Cards (shared) ────────────────────────────────────── */

.broadcast-card,
.broadcast-form,
.broadcast-preview,
.broadcast-show__summary,
.broadcast-show__envelopes,
.instance-card,
.instance-edit__ai-section,
.instance-show__ai-info {
  background: #1c2128;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 24px;
}

/* ── Broadcast Form ────────────────────────────────────── */

.broadcast-form {
  max-width: 600px;
}

.broadcast-form__field { margin-bottom: 20px; }

.broadcast-form__label {
  display: block;
  color: #e6edf3;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.broadcast-form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #21262d;
  font-size: 15px;
  color: #e6edf3;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}

.broadcast-form__textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.broadcast-form__textarea--recipients {
  min-height: 80px;
  font-family: monospace;
}

.broadcast-form__hint { font-size: 0.82rem; color: #8b949e; margin-top: 5px; display: block; }

.broadcast-form__checkboxes { display: flex; flex-wrap: wrap; gap: 10px; }

.broadcast-form__checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 14px;
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 8px;
  transition: border-color 0.15s ease;
  color: #e6edf3;
  font-size: 13px;
}

.broadcast-form__checkbox-label:hover { border-color: #3b82f6; }

.broadcast-form__checkbox { width: 16px; height: 16px; accent-color: #22c55e; }

.broadcast-form__file-input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 2px dashed #30363d;
  border-radius: 8px;
  background: #21262d;
  cursor: pointer;
  color: #8b949e;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}

.broadcast-form__file-input:hover { border-color: #22c55e; color: #e6edf3; }

.broadcast-form__submit {
  display: inline-block;
  padding: 10px 24px;
  margin-top: 8px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  background: #22c55e;
  color: #0d1117;
  transition: opacity 0.15s ease;
}

.broadcast-form__submit:hover { opacity: 0.88; }

/* ── Broadcast Preview ─────────────────────────────────── */

.broadcast-preview { max-width: 700px; }

.broadcast-preview__section {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #30363d;
}

.broadcast-preview__section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.broadcast-preview__title { font-size: 1rem; font-weight: 600; color: #22c55e; margin-bottom: 10px; }

.broadcast-preview__body {
  background: #21262d;
  padding: 14px;
  border-radius: 8px;
  border-left: 3px solid #3b82f6;
  white-space: pre-wrap;
  color: #e6edf3;
  line-height: 1.6;
  font-size: 14px;
}

.broadcast-preview__recipients { display: flex; flex-wrap: wrap; gap: 8px; }

.broadcast-preview__recipient {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: monospace;
  font-size: 0.85rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.broadcast-preview__count { color: #8b949e; font-size: 0.85rem; margin-top: 10px; }

.broadcast-preview__files { list-style: none; padding: 0; margin: 0; }

.broadcast-preview__file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #21262d;
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid #30363d;
}

.broadcast-preview__file-icon { font-size: 1.4rem; }
.broadcast-preview__file-info { flex: 1; }
.broadcast-preview__file-name { font-weight: 600; color: #e6edf3; font-size: 13px; }
.broadcast-preview__file-meta { font-size: 0.8rem; color: #8b949e; }

.broadcast-preview__instance {
  background: #21262d;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 6px;
  margin-bottom: 6px;
  border: 1px solid #30363d;
  font-size: 13px;
  color: #e6edf3;
}

.broadcast-preview__instance-badge {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.broadcast-preview__no-files { color: #8b949e; font-style: italic; font-size: 13px; }

/* ── Broadcast Cards (index) ───────────────────────────── */

.broadcast-card {
  padding: 20px;
  transition: border-color 0.15s ease;
  margin-bottom: 16px;
}

.broadcast-card:hover { border-color: #3b82f6; }

.broadcast-card__header { display: flex; gap: 14px; margin-bottom: 14px; }

.broadcast-card__thumbnail {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #21262d;
}

.broadcast-card__thumbnail-img { width: 100%; height: 100%; object-fit: cover; }

.broadcast-card__thumbnail-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.broadcast-card__thumbnail-icon--audio { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.broadcast-card__thumbnail-icon--document { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.broadcast-card__file-count {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 6px;
}

.broadcast-card__body-preview {
  flex: 1;
  color: #8b949e;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.broadcast-card__stats { display: flex; gap: 8px; margin-bottom: 14px; }

.broadcast-card__stat {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  border-radius: 8px;
  background: #21262d;
  border: 1px solid #30363d;
}

.broadcast-card__stat-value { display: block; font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.broadcast-card__stat-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: #8b949e; }

.broadcast-card__stat--total .broadcast-card__stat-value { color: #3b82f6; }
.broadcast-card__stat--success .broadcast-card__stat-value { color: #22c55e; }
.broadcast-card__stat--failed .broadcast-card__stat-value { color: #ef4444; }
.broadcast-card__stat--pending .broadcast-card__stat-value { color: #f59e0b; }

.broadcast-card__progress-bar {
  height: 6px;
  background: #30363d;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  margin-bottom: 4px;
}

.broadcast-card__progress-sent { background: #22c55e; transition: width 0.3s ease; }
.broadcast-card__progress-failed { background: #ef4444; transition: width 0.3s ease; }
.broadcast-card__progress-text { font-size: 11px; color: #8b949e; text-align: center; }

/* ── Broadcast Show ─────────────────────────────────────── */

.broadcast-show { max-width: 900px; }

.broadcast-show__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.broadcast-show__title { font-size: 1.4rem; font-weight: 700; color: #e6edf3; margin: 0; }

.broadcast-show__summary { margin-bottom: 20px; }

.broadcast-show__message { margin-bottom: 18px; }

.broadcast-show__message h3 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #22c55e;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.broadcast-show__body {
  background: #21262d;
  padding: 14px;
  border-radius: 8px;
  border-left: 3px solid #3b82f6;
  white-space: pre-wrap;
  color: #e6edf3;
  line-height: 1.6;
  font-size: 14px;
}

.broadcast-show__files h3 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #22c55e;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.broadcast-show__files-grid { display: flex; flex-wrap: wrap; gap: 10px; }

.broadcast-show__file {
  background: #21262d;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  width: 90px;
  border: 1px solid #30363d;
}

.broadcast-show__file-preview { width: 70px; height: 70px; object-fit: cover; border-radius: 6px; }

.broadcast-show__file-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border-radius: 6px;
  margin: 0 auto;
}

.broadcast-show__file-name { display: block; font-size: 10px; color: #8b949e; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.broadcast-show__stats-container { padding-top: 14px; border-top: 1px solid #30363d; }
.broadcast-show__stats { display: flex; gap: 12px; margin-bottom: 14px; }

.broadcast-show__stat {
  flex: 1;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  background: #21262d;
  border: 1px solid #30363d;
}

.broadcast-show__stat-value { display: block; font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.broadcast-show__stat-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #8b949e; }

.broadcast-show__stat--total .broadcast-show__stat-value { color: #3b82f6; }
.broadcast-show__stat--success { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.2); }
.broadcast-show__stat--success .broadcast-show__stat-value { color: #22c55e; }
.broadcast-show__stat--failed { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.2); }
.broadcast-show__stat--failed .broadcast-show__stat-value { color: #ef4444; }
.broadcast-show__stat--pending { background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.2); }
.broadcast-show__stat--pending .broadcast-show__stat-value { color: #f59e0b; }

.broadcast-show__progress-bar {
  height: 10px;
  background: #30363d;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  margin-bottom: 6px;
}

.broadcast-show__progress-sent { background: #22c55e; transition: width 0.5s ease; }
.broadcast-show__progress-failed { background: #ef4444; transition: width 0.5s ease; }
.broadcast-show__progress-text { font-size: 13px; color: #8b949e; font-weight: 500; }

.broadcast-show__envelopes { margin-top: 20px; }
.broadcast-show__section-title { font-size: 1rem; font-weight: 600; color: #e6edf3; margin: 0 0 14px 0; }

.broadcast-show__envelopes-filters { display: flex; gap: 8px; margin-bottom: 14px; }

.broadcast-show__filter {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  background: #21262d;
  color: #8b949e;
  border: 1px solid #30363d;
  transition: all 0.15s ease;
}

.broadcast-show__filter:hover { color: #e6edf3; border-color: #8b949e; }
.broadcast-show__filter.active { background: #22c55e; color: #0d1117; border-color: #22c55e; font-weight: 600; }

.broadcast-show__envelopes-list { display: flex; flex-direction: column; gap: 8px; max-height: 500px; overflow-y: auto; }

/* ── Envelope Cards ─────────────────────────────────────── */

.envelope-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: #21262d;
  border-left: 3px solid #30363d;
  border: 1px solid #30363d;
}

.envelope-card--pending { border-left: 3px solid #f59e0b; }
.envelope-card--sent { border-left: 3px solid #22c55e; }
.envelope-card--failed { border-left: 3px solid #ef4444; }

.envelope-card__recipient { display: flex; align-items: center; gap: 10px; }
.envelope-card__phone { font-family: monospace; font-size: 13px; font-weight: 600; color: #e6edf3; }

.envelope-card__status-badge {
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.envelope-card__status-badge--pending { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.envelope-card__status-badge--sent { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.envelope-card__status-badge--failed { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.envelope-card__details { display: flex; align-items: center; gap: 12px; font-size: 11px; color: #8b949e; }
.envelope-card__type { padding: 2px 6px; background: #30363d; border-radius: 4px; }
.envelope-card__time { color: #22c55e; }
.envelope-card__error { color: #ef4444; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Instance Cards ─────────────────────────────────────── */

.instance-card {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.instance-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.instance-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #22c55e;
  flex-shrink: 0;
}

.instance-card__name { margin: 0; font-size: 1.1rem; font-weight: 700; color: #e6edf3; }
.instance-card__badges { display: flex; gap: 6px; flex-wrap: wrap; }

.instance-card__status-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.instance-card__status-badge--open { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.instance-card__status-badge--connecting { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.instance-card__status-badge--closed,
.instance-card__status-badge--unknown { background: #21262d; color: #8b949e; border: 1px solid #30363d; }

.instance-card__ai-badge { padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.instance-card__ai-badge--active { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.instance-card__ai-badge--inactive { background: #21262d; color: #8b949e; border: 1px solid #30363d; }

.instance-card__info p { margin: 0 0 6px 0; color: #8b949e; font-size: 0.9rem; }
.instance-card__info strong { color: #e6edf3; }

.instance-card__qr { margin: 12px 0; text-align: center; }

.instance-card__qr-img {
  width: 180px;
  height: 180px;
  border: 1px solid #30363d;
  padding: 8px;
  background: white;
  border-radius: 10px;
}

.instance-card__qr-waiting { color: #8b949e; font-style: italic; text-align: center; padding: 16px; font-size: 13px; }

.instance-card__actions {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #30363d;
}

/* ── Instance Edit/Show ─────────────────────────────────── */

.instance-edit { max-width: 700px; }
.instance-edit__title { font-size: 1.4rem; font-weight: 700; color: #e6edf3; margin: 0 0 20px 0; }
.instance-edit__section-title { font-size: 1rem; font-weight: 600; color: #22c55e; margin: 0 0 16px 0; }
.instance-edit__ai-section { margin-top: 20px; }

.instance-show { max-width: 700px; }
.instance-show__ai-info { margin-top: 16px; }
.instance-show__ai-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 600; color: #3b82f6; margin: 0 0 14px 0; }
.instance-show__ai-icon { font-size: 1.2rem; }

.instance-show__ai-details { display: flex; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }

.instance-show__ai-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 16px;
  background: #21262d;
  border-radius: 8px;
  min-width: 110px;
  border: 1px solid #30363d;
}

.instance-show__ai-stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; color: #8b949e; }
.instance-show__ai-stat-value { font-size: 0.95rem; font-weight: 600; color: #e6edf3; }
.instance-show__ai-stat-value--active { color: #22c55e; }

.instance-show__ai-instruction { padding: 14px; background: #21262d; border-radius: 8px; border-left: 3px solid #3b82f6; }
.instance-show__ai-instruction-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; color: #8b949e; margin-bottom: 6px; }
.instance-show__ai-instruction-text { margin: 0; color: #e6edf3; line-height: 1.6; white-space: pre-wrap; font-size: 13px; }

/* ── AI Settings Form ───────────────────────────────────── */

.ai-settings-form { display: flex; flex-direction: column; gap: 20px; }

.ai-settings__toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #21262d;
  border-radius: 10px;
  border: 1px solid #30363d;
}

.ai-settings__toggle-info { display: flex; flex-direction: column; gap: 3px; }
.ai-settings__toggle-label { font-weight: 600; color: #e6edf3; font-size: 0.95rem; }
.ai-settings__toggle-hint { font-size: 0.82rem; color: #8b949e; }

.ai-toggle { position: relative; display: inline-block; width: 50px; height: 26px; flex-shrink: 0; }
.ai-toggle__input { opacity: 0; width: 0; height: 0; }

.ai-toggle__slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #30363d;
  transition: 0.3s;
  border-radius: 26px;
}

.ai-toggle__slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #8b949e;
  transition: 0.3s;
  border-radius: 50%;
}

.ai-toggle__input:checked + .ai-toggle__slider { background: rgba(34, 197, 94, 0.3); }
.ai-toggle__input:checked + .ai-toggle__slider:before { transform: translateX(24px); background: #22c55e; }
.ai-toggle__input:focus + .ai-toggle__slider { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }

.ai-settings__field { display: flex; flex-direction: column; gap: 6px; }
.ai-settings__label { font-weight: 600; color: #e6edf3; font-size: 0.9rem; }

.ai-settings__delay-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.ai-settings__delay-input {
  width: 90px;
  padding: 8px 12px;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #21262d;
  font-size: 15px;
  color: #e6edf3;
  text-align: center;
  font-weight: 600;
  transition: border-color 0.15s ease;
}

.ai-settings__delay-input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.ai-settings__delay-hint { font-size: 0.82rem; color: #8b949e; }

.ai-settings__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #21262d;
  font-size: 14px;
  color: #e6edf3;
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  line-height: 1.5;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}

.ai-settings__textarea:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.ai-settings__textarea::placeholder { color: #8b949e; }
.ai-settings__hint { font-size: 0.82rem; color: #8b949e; }

/* ── Auth (Devise) ──────────────────────────────────────── */

.auth-glass {
  max-width: 420px;
  margin: 60px auto;
  background: #1c2128;
  border: 1px solid #30363d;
  border-radius: 16px;
  padding: 40px;
}

.auth-glass__title { font-size: 1.6rem; font-weight: 700; color: #e6edf3; margin: 0 0 28px 0; text-align: center; }

.auth-glass__field { margin-bottom: 18px; }

.auth-glass__label { display: block; color: #8b949e; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }

.auth-glass__input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #21262d;
  font-size: 0.95rem;
  color: #e6edf3;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}

.auth-glass__input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.auth-glass__hint { display: block; font-size: 0.78rem; color: #8b949e; margin-top: 4px; }

.auth-glass__actions { margin-top: 24px; }

.auth-glass__submit {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  background: #22c55e;
  color: #0d1117;
  transition: opacity 0.15s ease;
  letter-spacing: 0.3px;
}

.auth-glass__submit:hover { opacity: 0.88; }

.auth-glass__links { margin-top: 20px; text-align: center; border-top: 1px solid #30363d; padding-top: 18px; }
.auth-glass__links a { color: #3b82f6; text-decoration: none; font-weight: 500; font-size: 0.88rem; }
.auth-glass__links a:hover { color: #22c55e; }

.auth-glass__checkbox-wrapper { display: flex; align-items: center; margin-bottom: 18px; }

.auth-glass__checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 14px;
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 8px;
  width: 100%;
  user-select: none;
  transition: border-color 0.15s ease;
  color: #e6edf3;
  font-size: 13px;
}

.auth-glass__checkbox-label:hover { border-color: #3b82f6; }
.auth-glass__checkbox { width: 16px; height: 16px; cursor: pointer; accent-color: #22c55e; margin: 0; }
.auth-glass__checkbox-text { font-size: 0.88rem; color: #8b949e; }
