:root {
  --go-blue: #1e5bff;
  --go-text: #111111;
  --go-muted: #8a8f98;
  --go-line: #e6e8ec;
}

.go-body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--go-text);
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.go-topbar {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px 24px;
  border-bottom: 1px solid var(--go-line);
}

.go-topbar-company {
  font-size: 1rem;
  font-weight: 700;
  color: var(--go-text);
}

.go-topbar-company-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.go-topbar-company-logo {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid var(--go-line);
  flex: 0 0 auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.go-topbar-company-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2f4f7;
  color: #606875;
}

.go-topbar-company-logo-hidden {
  display: none;
}

.go-topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.go-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.go-user-photo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eaf0ff;
  color: var(--go-blue);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.go-user-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #2b2f36;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.go-logout-btn {
  border: 0;
  background: var(--go-blue);
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.86rem;
  line-height: 1;
}

.go-logout-btn:hover {
  filter: brightness(0.96);
}

.go-wrap {
  width: 100%;
  min-height: 100vh;
  padding: 96px 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.go-wrap-auth {
  min-height: calc(100vh - 72px);
  padding: 24px;
}

.go-card {
  width: 100%;
  max-width: 460px;
}

.go-header {
  margin-bottom: 2rem;
}

.go-title {
  margin: 0;
  color: #0f1115;
  font-size: clamp(2rem, 6.8vw, 3.25rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.go-brand {
  margin: 0.25rem 0 0;
  color: var(--go-blue);
  font-size: clamp(3.1rem, 12.5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.go-brand-caret {
  font-size: 0.45em;
  vertical-align: top;
  margin-left: 0.1em;
}

.go-subtitle {
  margin: 1.2rem 0 0;
  max-width: 37ch;
  color: var(--go-muted);
  font-size: clamp(1.25rem, 3.9vw, 2rem);
  line-height: 1.26;
  letter-spacing: -0.01em;
}

.go-error {
  margin: 0 0 0.75rem;
  color: #d92d20;
  font-size: 0.85rem;
}

.go-field-wrap {
  margin-bottom: 1.2rem;
}

.go-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 42px;
}

.go-field-icon {
  color: #6f7680;
  font-size: 1.35rem;
  flex: 0 0 auto;
}

.go-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--go-text);
  font-size: 1.65rem;
  line-height: 1.2;
  padding: 0.25rem 0;
}

.go-input::placeholder {
  color: #b3b8c0;
}

.go-eye-btn {
  border: 0;
  background: transparent;
  color: #4d5561;
  padding: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.go-eye-btn:focus-visible {
  outline: 2px solid var(--go-blue);
  outline-offset: 2px;
  border-radius: 6px;
}

.go-eye-icon {
  font-size: 1.4rem;
}

.go-underline {
  width: 100%;
  height: 1px;
  background: var(--go-line);
  transition: background-color 0.15s ease;
}

.go-field-wrap:focus-within .go-underline {
  background: var(--go-blue);
}

.go-actions {
  margin: 0.25rem 0 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.go-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #8d929a;
  font-size: 0.98rem;
  cursor: pointer;
}

.go-remember input {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.35rem;
  accent-color: var(--go-blue);
}

.go-forgot {
  color: var(--go-blue);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.98rem;
}

.go-forgot:hover {
  text-decoration: underline;
}

.go-btn {
  width: 100%;
  border: 0;
  background: var(--go-blue);
  color: #fff;
  font-weight: 500;
  border-radius: 7px;
  padding: 0.78rem 1rem;
  font-size: 2rem;
  line-height: 1;
  transition: filter 0.15s ease, transform 0.05s ease;
}

.go-btn:hover {
  filter: brightness(0.96);
}

.go-btn:active {
  transform: translateY(1px);
}

.go-tenant-primary-btn {
  background: var(--go-blue);
  border-color: var(--go-blue);
  color: #fff;
}

.go-tenant-primary-btn:hover,
.go-tenant-primary-btn:focus,
.go-tenant-primary-btn:active {
  background: var(--go-blue);
  border-color: var(--go-blue);
  color: #fff;
  filter: brightness(0.96);
}

.go-dash {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.go-dash-full {
  max-width: 100%;
}

.go-company-list {
  display: grid;
  gap: 0.75rem;
}

.go-company-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  border: 1px solid var(--go-line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--go-text);
  text-decoration: none;
}

.go-company-item:hover {
  border-color: var(--go-blue);
}

.go-company-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.go-company-name {
  flex: 1;
  font-weight: 600;
}

.go-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.go-module-card {
  border: 1px solid var(--go-line);
  border-radius: 14px;
  padding: 0.9rem;
  text-decoration: none;
  color: var(--go-text);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 128px;
}

.go-module-card:hover {
  border-color: var(--go-blue);
}

.go-module-image {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef3ff;
  color: var(--go-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.go-module-title {
  font-weight: 700;
  font-size: 0.98rem;
  text-transform: lowercase;
}

.go-image-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.go-image-preview-item {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--go-line);
}

.c7ai-wrap {
  max-width: 900px;
}

.c7ai-card {
  background: #f8f9fb;
  border-radius: 14px;
}

.c7ai-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.c7ai-lookup-card {
  border: 1px solid #d4e6ff;
  background: #f4f9ff;
}

@media (min-width: 992px) {
  .go-topbar {
    padding: 14px 36px;
  }
  .go-wrap {
    align-items: center;
    padding: 112px 96px;
  }
  .go-wrap-auth {
    padding: 32px 36px;
  }
  .go-title {
    font-size: 3.3rem;
  }
  .go-brand {
    font-size: 4.35rem;
  }
  .go-subtitle {
    font-size: 1.03rem;
  }
  .go-input {
    font-size: 2rem;
  }
  .go-remember,
  .go-forgot {
    font-size: 1rem;
  }
  .go-btn {
    font-size: 2.2rem;
  }
}
@media (max-width: 430px) {
  .go-topbar {
    padding: 12px 14px;
    min-height: 66px;
  }
  .go-user-name {
    max-width: 104px;
    font-size: 0.82rem;
  }
  .go-topbar-company {
    font-size: 0.92rem;
    max-width: 132px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .go-logout-btn {
    padding: 0.38rem 0.66rem;
    font-size: 0.8rem;
  }
  .go-wrap {
    padding: 80px 60px 60px;
  }
  .go-wrap-auth {
    min-height: calc(100vh - 66px);
    padding: 16px 14px;
  }
  .go-module-grid {
    grid-template-columns: 1fr;
  }
  .go-title {
    font-size: 2.85rem;
  }
  .go-brand {
    font-size: 4rem;
  }
  .go-subtitle {
    font-size: 1.02rem;
  }
  .go-input {
    font-size: 1.65rem;
  }
  .go-remember,
  .go-forgot {
    font-size: 0.98rem;
  }
  .go-btn {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .go-wrap {
    padding: 80px 60px 60px;
  }
  .go-wrap-auth {
    padding: 20px 18px;
  }
  .go-subtitle {
    font-size: 0.98rem;
  }
  .go-btn {
    border-radius: 16px;
  }
}
