.main-container {
  width: 100%;
  display: grid;
  justify-content: center;
  margin-top: 4rem;
}

.auth-form-container {
  margin-top: 1.5rem;
}

/* Auth split layout */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-layout {
  display: flex;
  align-items: stretch;
  max-width: 960px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbb8f5;
  border-radius: 24px;
  box-shadow:
    0 8px 40px rgba(128, 64, 237, 0.08),
    0 2px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  animation: cardFadeIn 0.3s ease;
}

.auth-card {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.auth-card .form-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #000;
}

.auth-input {
  width: 100%;
}

.auth-input-wrapper {
  position: relative;
}

.auth-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #979797;
  font-size: 1rem;
  z-index: 1;
}

.auth-input-with-icon {
  padding-left: 44px !important;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #dddddd;
}

.auth-divider span {
  font-size: 0.875rem;
  color: #979797;
  white-space: nowrap;
}

.auth-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}

.auth-action-btn {
  flex: 1;
}

.auth-error {
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid #dc3545;
  background: #fff5f5;
  color: #dc3545;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 1rem;
}

/* Intro panel (left side) */
.intro-panel {
  flex: 0 0 420px;
  background: #f0f0f0;
  border-radius: 20px;
  padding: 2.5rem;
  margin: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-panel-logo {
  margin-bottom: 1.5rem;
}

.intro-panel-logo-icon {
  width: 48px;
  height: 48px;
  background: #8040ed;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
}

.intro-panel-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.intro-panel-subtitle {
  font-size: 1rem;
  color: #6b6b78;
  margin-bottom: 2.5rem;
}

.intro-panel-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.intro-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.intro-feature p {
  margin: 0;
  font-size: 0.95rem;
  color: #4a4a5e;
  line-height: 1.5;
}

.intro-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #cbb8f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.intro-feature-icon--check {
  background: #f0eaff;
  color: #8040ed;
}

.intro-feature-icon--bolt {
  background: #eae5ff;
  color: #6020d0;
}

.intro-feature-separator {
  height: 1px;
  background-color: #ddd5f0;
  margin: 0.25rem 0;
}

@media (max-width: 900px) {
  .auth-layout {
    flex-direction: column;
    margin: 1.5rem;
  }

  .intro-panel {
    flex: none;
  }

  .auth-card {
    padding: 2rem 1.5rem;
  }
}

.add-deployment-container {
  min-width: 900px;
  border: 1px solid #dadada;
  background-color: #f5f5f5;
  padding: 2rem;

  .fields-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;

    .fields {
      flex: 1;
    }
  }

  .notes-input {
    resize: none;
  }
}

.buttons-container {
  display: flex;
  justify-content: space-between;
}
