/**
 * initial-styles.css
 * Styles needed before Angular bootstraps - externalized from index.html
 * These styles handle the loading screen and error states
 */

.svg-design-error {
  display: none;
  max-width: 54% !important;
  margin-left: auto;
  margin-right: auto;
}

.error-mask {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  height: 100%;
  width: 100%;
  color: var(--primary-color);
  background: white;
  text-align: center;
}

.visible {
  display: block !important;
}

.inVisible {
  display: none !important;
}

.error-text {
  width: fit-content;
  font-size: 22px;
  margin-left: auto;
  margin-right: auto;
}

.error-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 100%;
}

#tabError {
  position: fixed;
  z-index: 10000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #f5f7fb;
  box-sizing: border-box;
}
#tabError .tab-error-card {
  width: 100%;
  max-width: 440px;
  padding: 40px 32px 32px;
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  text-align: center;
  color: #1d2433;
}
#tabError .tab-error-art { width: 132px; height: 104px; margin: 0 auto 24px; display: block; }
#tabError .tab-error-title { margin: 0 0 8px; font-size: 20px; font-weight: 600; line-height: 1.3; }
#tabError .tab-error-text { margin: 0 0 24px; font-size: 14px; line-height: 1.5; color: #5b6475; }
#tabError .tab-error-steps {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  text-align: left;
  background: #f7f8fa;
  border-radius: 12px;
}
#tabError .tab-error-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #344054;
}
#tabError .tab-error-steps li + li { border-top: 1px solid #eceef2; }
#tabError .tab-error-step-no {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8eefc;
  color: #2f5bd3;
  font-size: 12px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
}
#tabError .tab-error-button {
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 10px;
  background: #2f5bd3;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
#tabError .tab-error-button:hover { background: #264bb3; }
#tabError .tab-error-hint { margin: 12px 0 0; font-size: 12px; color: #8a92a3; }
@media (max-width: 480px) {
  #tabError { padding: 16px; }
  #tabError .tab-error-card { padding: 32px 20px 24px; }
}
