/* Styles for the MFP error pages (error.jsp, global_error.jsp).
   Extracted from settings.css so the error screens are self-contained. */

html, body { width: 100%; height: 100%; margin: 0; padding: 0; }

.error-body {
  margin: 0;
  padding: 0;
  background: #F5F5F5;
  font-family: Inter, Helvetica, Arial, sans-serif;
  width: 100%;
  height: 100%;
}

/* Full-screen positioning context for the card */
.error-page {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Card fills the screen with an equal 40px margin on every side */
.error-card-large {
  position: absolute;
  top: 40px;
  right: 40px;
  bottom: 40px;
  left: 40px;
  background: #fff;
  border: 1px solid #D0D0D0;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}

/* Grey header bar with the title flush to the top-left of the card */
.error-header {
  flex: 0 0 auto;
  background-color: #F5F5F5;
  border-radius: 16px 16px 0 0;
  padding: 16px 24px;
  text-align: left;
  margin: 0;
}

.error-page-title {
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: normal;
  color: #1A1A1A;
  margin: 0;
}

/* White content area fills the rest of the card, message + button centered */
.error-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 60px;
  box-sizing: border-box;
  text-align: center;
}

.error-message {
  margin: 0 0 60px 0;
  text-align: center;
}

.error-text-label {
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0 0 16px 0;
}

.error-actions-single {
  text-align: center;
  margin: 0;
}

.btn-error {
  background: #FFFFFF;
  color: #000000;
  border: 1.5px solid #D1D1D6;
  border-radius: 12px;
  padding: 10px 20px;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  min-width: 140px;
  height: auto;
  line-height: 1.4;
  display: inline-block;
  text-align: center;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
  margin: 0 8px;
  box-sizing: border-box;
  white-space: nowrap;
}

.btn-error:hover {
  background: #F5F5F5;
}

.btn-error:disabled {
  background: #F5F5F5;
  color: #999999;
  cursor: not-allowed;
}
