@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {

  --text-color: #444;
  --accent-color: #999;
  --base-color: #fff;
  --input-color: #d9d9d9;

}

* {

  margin: 0;
  padding: 0;

}

html {

  font-family: Poppins, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12pt;
  color: var(--text-color);
  text-align: center;

}

body {

  min-height: 100vh;
  background-image: url(../Assets/Images/Grafic\ Website.png);
  background-size: 60%;
  background-position: right;
  overflow: hidden;

}

.wrapper {

  box-sizing: border-box;
  background-color: var(--base-color);
  height: 100vh;
  width: max(40%, 600px);
  padding: 10px;
  border-radius: 0 20px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

h1 {

  position: relative;
  top: -100px;
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;

}

form {

  position: relative;
  top: -100px;
  width: min(400px, 100%);
  margin-top: 20px;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

}

form>div {

  width: 100%;
  display: flex;
  justify-content: center;

}

form label {

  flex-shrink: 0;
  height: 50px;
  width: 50px;
  background-color: var(--accent-color);
  fill: var(--base-color);
  border-radius: 10px 0 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;

}

form input {

  box-sizing: border-box;
  flex-grow: 1;
  min-width: 0;
  height: 50px;
  padding: 1em;
  font: inherit;
  border-radius: 0 10px 10px 0;
  border: 2px solid var(--input-color);
  border-left: none;
  background-color: var(--input-color);
  transition: 150ms ease;

}

form input:hover {

  border: 2px solid var(--accent-color);
  border-left: none;

}

form input:focus {

  outline: none;
  border-color: var(--text-color);

}

div:has(input:focus)>label {

  background-color: var(--text-color);

}

form input::placeholder {

  color: var(--text-color);

}

form button {

  margin-top: 10px;
  border: none;
  border-radius: 1000px;
  padding: .85em 4em;
  background-color: var(--accent-color);
  color: var(--base-color);
  font: inherit;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: 150ms ease;

}

form button:hover {

  background-color: var(--text-color);

}

form button:focus {

  outline: none;
  background-color: var(--text-color);

}

a {

  text-decoration: none;
  color: var(--accent-color);

}

a:hover {

  text-decoration: underline;

}

@media(max-width: 1100px) {

  .wrapper {
    width: min(600px, 100%);
    border-radius: 0;
  }

}

form div.incorrect label {

  background-color: #f06272;

}

form div.incorrect input {

  border-color: #f06272;

}

#error-message {

  position: relative;
  top: -100px;
  color: #f06272;

}

.login-logo {

  position: relative;
  width: min(500px, 100%);
  top: -90px;

}

.register-logo {

  position: relative;
  width: min(500px, 100%);
  top: -30px;

}

.register-p {

  position: relative;
  top: -60px;

}

select {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 2px solid var(--input-color);
  border-radius: 10px;
  background-color: var(--input-color);
  transition: border-color 150ms ease;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 10px center;
}

select:hover {
  border-color: var(--accent-color);
}

select:focus {
  outline: none;
  border-color: var(--text-color);
}

.price-list table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.price-list th,
.price-list td {
  border: 1px solid var(--input-color);
  padding: 10px;
  text-align: left;
}

.price-list th {
  background-color: var(--accent-color);
  color: var(--base-color);
  font-weight: bold;
  text-transform: uppercase;
}

.price-list td {
  background-color: var(--base-color);
}

.price-list tr:nth-child(even) td {
  background-color: var(--input-color);
}

form .agreement-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding-left: calc(50px + 1em);
  margin: 1.5em 0;
}

form .agreement-row input[type="checkbox"] {
  width: 1.2em;
  height: 1.2em;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}

form .agreement-row label {
  margin-left: 0.75em;
  line-height: 1.4;
  font-size: 0.95rem;
  color: var(--text-color);
}

form .agreement-row a {
  color: var(--accent-color);
  text-decoration: underline;
}

#error-message,
#agreement-error {
  color: #c00;
  font-size: 0.9rem;
  margin-top: 0.25em;
}

#buttoninvoice {
  display: inline-block;
  background-color: var(--text-color);
  color: var(--base-color);
  border: none;
  padding: 0.75em 2em;
  border-radius: 1.5em;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

#buttoninvoice:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

form .agreement-row {
  width: 100%;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: flex-start;
  padding-left: calc(50px + 1em);
  margin: 1.5em 0;
  gap: 0.5em;
  flex-wrap: wrap;
}

form .agreement-row input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.2em;
  height: 1.2em;
  margin: 0.1em 0 0 0;
  cursor: pointer;
}

form .agreement-row label {
  flex: 1;
  text-align: left;
  line-height: 1.4;
  font-size: 0.95rem;
  color: var(--text-color);
}

form .agreement-row a {
  color: var(--accent-color);
  text-decoration: underline;
}

#agreement-error {
  color: #c00;
  font-size: 0.9rem;
  margin-top: 0.25em;
}

form .input-group.agreement {
  width: 100% !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: flex-start;
  padding-left: calc(50px + 1em);
  margin: 1.5em 0;
  gap: 0.5em;
  flex-wrap: wrap;
}

form .input-group.agreement input[type="checkbox"] {
  margin: 0.1em 0 0 0;
  flex-shrink: 0;
  width: 1.2em;
  height: 1.2em;
}

form .input-group.agreement label {
  flex: 1;
  text-align: left;
  line-height: 1.4;
  font-size: 0.95rem;
}

form .input-group.agreement a {
  color: var(--accent-color);
  text-decoration: underline;
}

form select {
  box-sizing: border-box;
  flex-grow: 1;
  min-width: 0;
  height: 50px;
  padding: 0 1em;
  font: inherit;
  border-radius: 0 10px 10px 0;
  border: 2px solid var(--input-color);
  border-left: none;
  background-color: var(--input-color);
  transition: 150ms ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

form select:hover {
  border: 2px solid var(--accent-color);
  border-left: none;
}

form select:focus {
  outline: none;
  border-color: var(--text-color);
}

div:has(select:focus)>label {
  background-color: var(--text-color);
}

body.pending-page {
  min-height: 100vh;
  background-image: url(../Assets/Images/Grafic\ Website.png);
  background-size: 60%;
  background-position: right;
  background-repeat: no-repeat;
  overflow-y: auto;
  overflow-x: hidden;
}

.pending-left-wrapper {
  justify-content: flex-start;
  padding-top: 80px;
  height: auto;
  min-height: 100vh;
}

.pending-heading {
  position: static;
  top: auto;
  font-size: 2.4rem;
  margin: 35px 0 20px;
}

.pending-content {
  width: min(470px, 100%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 50px;
}

.pending-section {
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid var(--input-color);
  border-radius: 14px;
  padding: 18px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.pending-section h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.pending-section p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.pending-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pending-button-row a,
.pending-logout {
  display: inline-block;
  border-radius: 1000px;
  padding: 0.75em 1.8em;
  background-color: var(--accent-color);
  color: var(--base-color);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: 150ms ease;
}

.pending-button-row a:hover,
.pending-logout:hover {
  background-color: var(--text-color);
  text-decoration: none;
}

.pending-section.price-list table {
  margin-top: 12px;
  font-size: 0.8rem;
}

.pending-section.price-list th,
.pending-section.price-list td {
  padding: 8px;
}

.pending-logout {
  align-self: center;
  margin-top: 4px;
}

@media (max-width: 1100px) {
  body.pending-page {
    background-image: none;
  }

  .pending-left-wrapper {
    width: min(600px, 100%);
    border-radius: 0;
  }
}

@media (max-width: 700px) {
  .pending-heading {
    font-size: 1.8rem;
  }

  .pending-content {
    width: 100%;
  }

  .pending-section {
    padding: 14px;
  }

  .pending-section.price-list table {
    font-size: 0.72rem;
  }
}

.pending-page {
  overflow: hidden;
}

.pending-left-wrapper {
  justify-content: flex-start;
  padding-top: 30px;
  gap: 10px;
}

.pending-logo {
  margin-top: -10px;
  margin-bottom: 10px;
  width: 320px;
}

.pending-heading {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 3rem;
  line-height: 1;
}

.pending-content {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pending-section {
  background: #f3f3f3;
  border: 1px solid #d7d7d7;
  border-radius: 18px;
  padding: 14px;
}

.pending-section h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.pending-section p {
  margin: 6px 0;
  line-height: 1.4;
  font-size: 0.95rem;
}

.pending-button-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.pending-button-row a,
.pending-logout {
  background: #9f9f9f;
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: 0.2s ease;
}

.pending-button-row a:hover,
.pending-logout:hover {
  background: #7f7f7f;
}

.price-list table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.price-list th {
  background: #9f9f9f;
  color: white;
  padding: 8px;
  text-align: left;
}

.price-list td {
  padding: 8px;
  border: 1px solid #d5d5d5;
  background: #f8f8f8;
}

.pending-contact-note {
  font-weight: 600;
}

.pending-logout {
  display: inline-block;
  text-align: center;
  margin-top: 4px;
}