/* Custom Napier Continuum Styles for new components */

/* Root split layout */
.nc-page {
  min-height: 100vh;
  display: flex;
  background-color: var(--nc-background-100);
  padding: 0;
}

/* Left section: login form card */
.nc-left {
  flex: 0 0 54%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

/* Right section: marketing panel */

.nc-right {
  background: linear-gradient(
    115.34deg,
    #1d0652 2.01%,
    #1d0652 11.7%,
    #220a5a 11.7%,
    #220a5a 21.38%,
    #260d63 21.38%,
    #260d63 31.07%,
    #2a116b 31.07%,
    #2a116b 40.75%,
    #2f1473 40.75%,
    #2f1473 50.44%,
    #33187b 50.44%,
    #33187b 60.12%,
    #381b83 60.12%,
    #381b83 69.81%,
    #3c1f8b 69.81%,
    #3c1f8b 79.49%
  );

  color: #e5e7eb;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 72px;
}

.nc-right-title {
  font-size: 48px;
  font-weight: 500;
  margin: 0 0 20px;
}

.nc-right-subtitle {
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 3.6px;
  text-transform: uppercase;

  color: #f4f4f5cc;
}

/* Section below card */
.nc-addendum {
  margin-top: 16px;
  text-align: center;
}

/* Custom error and warning messages */
.nc-message {
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  line-height: 24px;
}

.nc-message-info {
  border: 1px solid var(--nc-color-primary-blue-25);
  background-color: #ebf0fd;
  border-left: 2px solid var(--nc-color-primary-blue);
}

.nc-message-success {
  border: 1px solid var(--nc-color-green-25);
  background-color: #e7f5e9;
  border-left: 2px solid var(--nc-color-green);
}

.nc-message-error {
  border: 1px solid var(--nc-color-error-25);
  background-color: #fcdde3;
  border-left: 2px solid var(--nc-color-error);
}

.nc-message-warning {
  border: 1px solid var(--nc-color-warning-25);
  background-color: #fef3c7;
  border-left: 2px solid var(--nc-color-warning);
}

/* SSO Section */
.nc-idp-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 16px;
  color: #71717a;
  text-transform: uppercase;
}

.nc-idp-divider::before,
.nc-idp-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--pf-v5-global--BorderColor--100, #e4e4e7);
}

.nc-idp-divider span {
  padding: 0 1rem;
}
