@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* Root variables */
:root {
  --primary: #b7213b;
  --secondary: #921a2f;
  --light-purple: #be374f;
  --dark-blue: #801729;
  --button: #E4C300;
  --white: #ffffff;
  --font-size: 16px;
  --text-color: #474747;
  --placeholder: #848484;
  --boder-color: #d3d3d3;
  --body: #eeeaf4;
  --error: #cf3636;
  --table: #fff6e7;
  --modal-title: #333333;
  --confirm-table-border: rgba(254, 210, 54, 0.35);
}

html,
body {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-x: hidden;
}

.spacer {
  flex: 1;
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--body);
}

.btn.focus,
.btn:focus {
  box-shadow: none;
}

sup {
  font-size: 16px;
  top: 0em;
}

.regular-btn {
  background: var(--button);
  color: var(--white);
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  transition: 0.2s ease;
}

.regular-btn:hover {
  background: var(--light-purple);
  color: var(--white);
}

.bring-front {
  z-index: 2;
}

/* Navbar */
.header {
  background: var(--primary);
  z-index: 2;
}

.header .phone-link {
  font-size: var(--font-size);
  font-weight: 500;
  line-height: 26px;
}

.header .phone-wrapper {
  display: inline-block;
  background: var(--light-purple);
  border-radius: 50%;
  text-align: center;
  height: 36px;
  width: 36px;
  line-height: 36px;
}

.header #get-btn {
  background: var(--button);
  padding: 10px 30px;
  border-radius: 22px;
  font-size: var(--font-size);
  font-weight: 600;
  line-height: 18px;
}

/* Main */
.main{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.main .error-modal {
  border-radius: 4px;
  border-left: 4px solid var(--error);
  background: rgba(207, 54, 54, 0.15);
}

.main .error-modal .error-title {
  font-family: "Poppins";
  font-size: var(--font-size);
  font-weight: 500;
  line-height: 26px;
  color: var(--error);
}

.main .form-wrapper {
  padding: 1em 0 0em 1em;
  background: var(--white);
  border-radius: 10px 10px 60px 10px;
  box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.07),
    0 6px 18px -1px rgba(0, 0, 0, 0.04) !important;
}

.main .form {
  padding: 75px 60px;
}

.main .form-title {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  color: var(--light-purple);
}

.main .form label,
.main .form input {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--text-color);
}

.main .form input {
  padding: 1.3em 1em;
  box-shadow: none;
  border: 1px solid var(--boder-color);
}

.main .form input::placeholder {
  color: var(--placeholder);
  font-size: 13px;
  font-weight: 300;
}

.main .form input.has-value {
  border: 1px solid var(--light-purple);
}
.main .form input.has-error {
  border: 1px solid var(--error);
}

.main .form input:focus {
  border: 1px solid var(--light-purple);
}

.main .form .errorlist {
  list-style-type: none;
  padding-left: 0;
}
  
.main .form .errorlist li {
  bottom: -1.8em;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: var(--error);
}
  
  
.main .form .image {
  bottom: 0;
  right: 0;
  z-index: 1;
}

.main .form .image img,
.main .form .body-image img {
  width: 100%;
}

.main .form .body-image {
  bottom: -10.4em;
  right: -16.5em;
  z-index: -1;
}

/* User Detail Page */
.main .form .form-header .edit-btn {
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  color: var(--light-purple);
}

.main .confirm-first-table {
  background: rgba(254, 210, 54, 0.35);
  border-radius: 12px;
}

.main .confirm-second-table {
  background: rgba(254, 210, 54, 0.15);;
  border-radius: 12px;
}

.main .confirm-first-table td,
.main .confirm-first-table th {
  border-top: 1px solid var(--confirm-table-border);
  border-bottom: 1px solid var(--confirm-table-border);
}

.main .confirm-second-table td,
.main .confirm-second-table th {
  border-top: 1px solid var(--confirm-table-border);
  border-bottom: 1px solid var(--confirm-table-border);
}

.main .table tr:nth-child(1) td {
  border-top: none;
}

.main .table tr:nth-last-child(-n + 1) td {
  border-bottom: none;
}
.main .table .coupon-border-bottom,
.main .table .coupon-border-top {
  border-bottom: 0;
  border-top: 0;
}
.main .table .coupon-img {
  width: 72px;
  height: 72px;
}
.confirm-first-table{
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.confirm-second-table{
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}
/* MODAL */

.main .modal-header {
  border-bottom: none;
}

.main .modal-header img {
  margin: 32px 0 32px 0;
}

.main .modal-title {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  color: var(--modal-title);
}

.main .modal-body {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--text-color);
}

.main .modal-footer {
  border-top: none;
}

.main .modal-footer button.btn {
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  color: var(--light-purple);
}

/* Footer */

.footer .help-section {
  background: var(--secondary);
}

.footer .phone-link {
  font-size: var(--font-size);
  font-weight: 500;
  line-height: 26px;
  color: var(--button);
}

.footer .phone-wrapper {
  display: inline-block;
  background: var(--white);
  border-radius: 50%;
  text-align: center;
  height: 30px;
  width: 30px;
  line-height: 30px;
}

.footer .phone-wrapper i::before {
  color: var(--secondary);
}

.footer .copyright-section {
  background: var(--dark-blue);
}

/* MEDIA QUERIES */
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 382px;
  }
}
@media (max-width: 768px) {
  .main .form {
    padding: 0 1em 2em 0;
  }
}
@media (max-width: 560px){
  .main .table tr td:last-child {
    display: none;  
  }
}
