@import '../../../_variables';


/* Button */
.btn-secondary {
  background-color: $pinkColor;
  border-radius: 50px;
  border-color: $pinkColor;
}

/* Screen */
.screen__title {
  margin-bottom: 50px;
}

.screen .card {
  height: 100%;
  border: 0.0625rem solid rgba(231, 234, 243, 0.7);
  box-shadow: 0 6px 12px rgba(140, 152, 164, 0.075);
}

/* Table */
.screen .table {
  font-size: 0.8rem;
  margin: 0;
}

.screen .table thead th {
  border: none;
  color: $textHeaderBackgroundColor;
  padding-top: 0;
  vertical-align: middle;
}

.screen .table tbody tr:nth-last-child(1) td, .screen .table tbody tr:nth-last-child(1) th {
  padding-bottom: 0;
}

.screen .table td, .screen .table th {
  border-color: #E4E4E4;
  vertical-align: middle;
  height: 54px;
  padding-top: 0;
  padding-bottom: 0;
}

.screen .table th {
  color: $textHeaderBackgroundColor;
  font-weight: bold;
}

.screen .table__warranties {
  max-width: 120px;
}

/* Card */
.screen .card {
  border-color: #E5E5E5;
  border-radius: 10px;
}

.screen .card-header {
  background-color: #F2F2F2;
  border-color: #E2E2E2;
  color: #535353 !important;
}

.screen .card-body {
  padding: 0 1rem;
}

.screen .card__documents {
  font-size: 0.9rem;
  padding: 1rem;
}

/* Prices */
.prices {
  border: 1px solid #E5E5E5;
  height: 100%;
  border-radius: 10px;
  text-align: center;
}

.prices__left, .prices__right {
  padding: 15px;
}

.prices__right {
  background-color: $stepSummaryBackgroundBlockMoneySaved;
  color: #fff;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.2;
}

.prices__label {
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 5px;
  font-weight: bold;
}

.prices__value {
  color: $stepSummaryCostMoneySaved;
  font-size: 1.8rem;
  line-height: 1;
}

.prices__value--white {
  margin-top: 20px;
  color: #fff;
}

.prices__economy {
  text-transform: uppercase;
  font-weight: bold;
}


.text-mention {
  font-size: 0.8rem;
}

@media (min-width: 720px) {
  .prices__value {
    font-size: 2rem;
    line-height: 1;
  }

  .prices__label {
    font-size: 1rem;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .prices__right {
    font-size: 1.4rem;
    line-height: 1.2;
  }
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 600px;
  }
}

.modal-content {
  border-radius: 16px;
}

.modal {
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto !important;
}

.modal-body {
  padding:0px;
}

.bg-blue {
  color: rgb(var(--colors-gray-600)/var(--tw-text-opacity));
  font-size: 1.125rem;
  font-weight: 700;
  padding: 21px;
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 0px 24px 1px;
  width:100%;
}

.modal-header {
  padding: 0px;
  border-bottom: 0px;
}

.modal-footer {
  border-top: 0px;
  justify-content: center;
}

.modal-footer button{
  width:60%;
}


.color-blue {
  color: $textColor;
}

.custom-control.custom-checkbox label {
  cursor: pointer;
  max-width: 80%;
}

.download-picto {
  float: right;
  margin-right: 1%;
  cursor: pointer;
}

.btn-color-green-next, .btn-color-green-next:hover {
  background-color: $stepSummaryButtonPopup;
  border-color: $stepSummaryButtonPopup;
}

.summary-date formly-field-input input {
  display: inline-block;
  width: auto;
  margin-left: 5px;
}

.bg-blue-summary {
  border-radius: 12px;
  color: #fff;
  background-color: $textHeaderBackgroundColor;
}

.step-summary-button-popup, .step-summary-button-popup:hover {
  background-color: $stepSummaryButtonPopup;
  border-color: $stepSummaryButtonPopup;
}

.step-summary-button-popup:hover {
  background-color: $pinkColor;
  border-color: $pinkColor;
}

@media (min-width: 576px) {
  .col-lg8-custom {
    flex: 0 0 65.8%;
  }
}

@media (max-width: 576px) {
  .align-bottom-price {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .prices__label {
    font-size: 0.8rem;
    line-height: 1.2;
    font-weight: bold;
    margin-bottom: 15px;
  }

  .prices__value {
    font-size: 1.3rem;
    align-self: flex-end;
    width: 100%;
  }
}

.step-summary {
  .form-group.picker {
    max-width: 230px;
    margin-bottom: 0px;
  }
}

.hand-picto {
  width: 42px;
  display: inline;
}
