.auth-bg-cover {
  background: linear-gradient(-45deg, #05081b 50%, #1b2142);
}

.auth-one-bg .bg-overlay {
  background: #000;
  opacity: 0.8;
}

.bg-trans-gradient {
  background: linear-gradient(250deg, #3e93d6, #fff);
}

/* ─── Validation Page ─── */
.sbc-validation-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.sbc-validation-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.sbc-validation-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.sbc-validation-subtitle {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-bottom: 0;
}

.sbc-validation-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.375rem;
}

.sbc-validation-label sb-icon {
  color: #1261AE;
  flex-shrink: 0;
}

.sbc-btn-validate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, #1261AE, #0e4f8b);
  color: #fff;
  border: none;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(18, 97, 174, 0.3);
}

.sbc-btn-validate:hover {
  background: linear-gradient(135deg, #0e4f8b, #0a3d6e);
  box-shadow: 0 6px 20px rgba(18, 97, 174, 0.4);
  transform: translateY(-1px);
}

.sbc-btn-validate:active {
  transform: translateY(0);
}

.sbc-btn-validate sb-icon {
  flex-shrink: 0;
}

.sbc-validation-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6875rem;
}

/* ─── Confirmation Page ─── */
.sbc-confirmation-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.sbc-confirmation-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.sbc-confirmation-icon {
  color: #16a34a;
  margin-bottom: 1rem;
}

.sbc-confirmation-icon sb-icon {
  filter: drop-shadow(0 2px 8px rgba(22, 163, 74, 0.3));
}

.sbc-confirmation-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.sbc-confirmation-message {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #86efac;
  border-left: 4px solid #16a34a;
  border-radius: 0.625rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.sbc-confirmation-message sb-icon {
  flex-shrink: 0;
  color: #16a34a;
  margin-top: 2px;
}

.sbc-confirmation-message p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #14532d;
}

.sbc-confirmation-subtitle {
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

/* ─── Language Switcher ─── */
.sbc-lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2rem;
  padding: 0.2rem 0.5rem;
}

.sbc-lang-switcher sb-icon {
  color: #1e3a5f;
  flex-shrink: 0;
  opacity: 0.7;
}

.sbc-lang-btn {
  background: none;
  border: none;
  border-radius: 1rem;
  padding: 0.15rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}

.sbc-lang-btn:hover {
  background: rgba(18, 97, 174, 0.1);
  color: #1261AE;
}

.sbc-lang-btn.sbc-lang-active {
  background: #1261AE;
  color: #fff;
  box-shadow: 0 1px 3px rgba(18, 97, 174, 0.3);
}

/* ─── Card Form (fieldset + legend) ─── */
.sbc-card-form {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* ─── Alert Info ─── */
.sbc-alert-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #93c5fd;
  border-left: 4px solid #2563eb;
  border-radius: 0.625rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  position: relative;
}

.sbc-alert-info .sbc-alert-info-icon {
  flex-shrink: 0;
  color: #2563eb;
  margin-top: 2px;
}

.sbc-alert-info .sbc-alert-info-content {
  flex: 1;
}

.sbc-alert-info .sbc-alert-info-content strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.25rem;
}

.sbc-alert-info .sbc-alert-info-content p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #1e3a5f;
}

.sbc-alert-info .btn-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  opacity: 0.5;
}

.sbc-alert-info .btn-close:hover {
  opacity: 1;
}

/* ─── Phone Chips ─── */
.sbc-phone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  min-height: 2rem;
}

.sbc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #eef4fb;
  border: 1px solid #c5ddf2;
  border-radius: 1rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.8125rem;
  color: #1261AE;
  line-height: 1;
}

.sbc-chip sb-icon {
  flex-shrink: 0;
  opacity: 0.6;
}

.sbc-chip .sbc-chip-text {
  white-space: nowrap;
}

.sbc-chip .sbc-chip-remove {
  background: none;
  border: none;
  color: #1261AE;
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.125rem;
  cursor: pointer;
  opacity: 0.6;
}

.sbc-chip .sbc-chip-remove:hover {
  opacity: 1;
  color: #c0392b;
}

/* ─── Refresh Button ─── */
.sbc-btn-refresh {
  margin-left: auto;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  padding: 0.2rem 0.35rem;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

.sbc-btn-refresh:hover {
  color: #1261AE;
  border-color: #93c5fd;
  background: #eff6ff;
}

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

/* ─── Save Button ─── */
.sbc-btn-save {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, #1261AE, #0e4f8b);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(18, 97, 174, 0.25);
}

.sbc-btn-save:hover {
  background: linear-gradient(135deg, #0e4f8b, #0a3d6e);
  box-shadow: 0 4px 12px rgba(18, 97, 174, 0.35);
  transform: translateY(-1px);
}

.sbc-btn-save:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(18, 97, 174, 0.2);
}

.sbc-btn-save sb-icon {
  flex-shrink: 0;
}

/* ─── Notification Contact Cards ─── */
.sbc-contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.625rem;
  max-height: 420px;
  overflow-y: auto;
  padding: 0.25rem;
}

.sbc-contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.625rem;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.sbc-contact-card:hover {
  border-color: #93c5fd;
  background: #f8faff;
  box-shadow: 0 2px 6px rgba(18, 97, 174, 0.08);
}

.sbc-contact-card.sbc-contact-active {
  border-color: #1261AE;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  box-shadow: 0 2px 8px rgba(18, 97, 174, 0.12);
}

.sbc-contact-card .sbc-contact-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}

.sbc-contact-card.sbc-contact-active .sbc-contact-avatar {
  background: #1261AE;
  color: #fff;
}

.sbc-contact-card .sbc-contact-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sbc-contact-card .sbc-contact-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sbc-contact-card .sbc-contact-email {
  font-size: 0.6875rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sbc-contact-card .sbc-contact-toggle {
  flex-shrink: 0;
  color: #cbd5e1;
  transition: color 0.2s;
}

.sbc-contact-card.sbc-contact-active .sbc-contact-toggle {
  color: #1261AE;
}

/* ─── Footer ─── */
.sbc-footer {
  margin-top: 1.5rem;
  padding: 0.75rem 0;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border-top: 1px solid #e2e8f0;
}

.sbc-footer .sbc-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sbc-footer .sbc-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1261AE;
}

.sbc-footer .sbc-footer-brand sb-icon {
  flex-shrink: 0;
}

.sbc-footer .sbc-footer-copy {
  font-size: 0.7rem;
  color: #94a3b8;
}

.sbc-footer .sbc-footer-copy a {
  color: #1261AE;
  text-decoration: none;
  font-weight: 600;
}

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

.sbc-card-form-legend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1261AE;
  margin-bottom: 0.75rem;
  padding-bottom: 0.425rem;
  border-bottom: 1px solid #f1f5f9;
}

.sbc-card-form-legend sb-icon {
  flex-shrink: 0;
}
