:root {
  --light1: #FFFFFF;
  --light2: #FAFAFA;
  --dark1: #393939;
  --primary-bqb: #1B88C2;
  --secondary-bqb: #40B4F1;
  --icons: rgba(100, 100, 180, 0.2);
}

body {
  background-color: #F3F3F3;
}

.form-row-evenly {
  display: flex;
  justify-content: space-around;
}

.box1 {
  background-color: #FFFFFF;
  padding: 2em;
  border-radius: 45px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.overlapping-container {
  position: relative;
  top: 0;
  margin-bottom: 0;
  margin-top: 5rem;
}

.form-control {
  background-color: #F3F3F3 !important;
  border: 0 !important;
}

.form-control:disabled {
  background-color: #DBDBDB !important;
}

.hr-bqb {
  border-color: var(--primary-bqb);
}

.claim-icon {
  height: 3rem;
  width: auto;
  margin-bottom: 1.5rem;
}

#sinisterCategory6Class .claim-icon {
  height: 4rem !important;
  margin-bottom: 1rem !important;
}

#sinisterCategory6Class.sinister-btn {
  padding: 0.3rem 1.5rem 0.8rem !important;
}

.formBtn {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 600 !important;
  flex: 1 1 0;
  padding: 1.5rem 1 !important;
  color: #fff;
  background-color: var(--primary-bqb);
  border: none;
  border-color: var(--primary-bqb);
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.formBtn:hover {
  background-color: var(--secondary-bqb);
}

.formBtn:focus {
  background-color: var(--secondary-bqb);
  outline: none;
}

.formBtn-selected {
  background-color: var(--secondary-bqb);
  outline: none;
}

button span,
button img {
  pointer-events: none;
}

.hiddenradio {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

/* HIDE RADIO */
.hiddenradio [type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* IMAGE STYLES */
.hiddenradio label {
  cursor: pointer;
}

/* CHECKED STYLES */
.selected-sinister {
  background-color: var(--icons) !important;
}

.sinister-btn {
  border-radius: 1em;
  padding: 1rem 1.5rem;
  margin: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  background-color: #FFFFFF;
  flex: 1 1 0;
}

.image-input {
  max-width: 100%;
  height: auto;
  margin: 1.5rem;
}

.file-input {
  display: flex;
  flex-direction: column;
}

.form-group.hidden {
  display: none;
}

.custom-invalid {
  border-color: red !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25) !important;
}

.modal-content-styles {
  border-radius: 10px !important;
  margin: auto;
  padding: 1rem 2rem;
  width: 100% !important;
}

.close-modal {
  border: none;
  font-family: bold;
  background-color: white;
  color: black
}

.modal-title-style {
  font-weight: 600;
  font-size: 19px;
  line-height: 24px;
  margin-left: 10px;
  color: #F03B3B;
}

.modal-style {
  margin-right: 59px !important;
  margin-left: 43px !important;
}

.documentation-info-title {
  font-weight: 600;
  color: #080A1A;
  font-size: 1.4rem;
  line-height: 2rem;
}

.documentation-info {
  font-weight: 600;
  color: #080A1A;
  line-height: 2rem;
}

.list-group-item-style {
  padding: 0.5rem 1rem !important;
  border: none !important;
}

.box-center {
  margin: 0 auto;
  text-align: left;
  display: block;
}

@media (min-width: 700px) {
  .width-form {
    width: 100%;
  }

  .image-input {
    max-width: 40%;
  }
}

.sinister-title {
  text-align: center;
  font-weight: bold;
  color: 393939;
  font-size: 15px;
  margin-top: 3rem;
}

.btn-send {
  height: 40px;
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.btn-final {
  height: 39px;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin: auto;
  border-radius: 10px;
}

.message-final {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-preview {
  height: 100px;
  width: 100px;
  margin: 4px;
}

.div-preview {
  overflow-x: auto;
  white-space: nowrap;
}

.div-container {
  display: inline;
  user-select: none;
}

.remove {
  position: relative;
  top: -39px;
  right: 27px;
  background: #1B88C2;
  border-radius: 0.8em;
  -moz-border-radius: 0.8em;
  -webkit-border-radius: 0.8em;
  color: #FFFFFF;
  display: inline-block;
  font-weight: bold;
  line-height: 1.6em;
  margin-right: -19px;
  text-align: center;
  width: 1.6em;
}

input[type='file'] {
  color: rgba(0, 0, 0, 0)
}

/* car quoter message */
.quoteMessage {
  display: flex;
  justify-content: center;
  color: #1B88C2;
  margin-top: 2rem;
}

.error-message {
  display: flex;
  align-items: center;
  background-color: #F5B4B4;
  border: 0.1rem solid #ddd;
  border-radius: 0.4rem;
  padding: 0.4rem;
  margin: 0.5rem 0 0 0;
  font-size: 1rem;
  line-height: 1.5;
}

.error-message::before {
  content: "";
  display: flex;
  align-items: center;
  width: 2rem;
  height: 1.3rem;
  /* margin-right: 0.8rem; */
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  background-image: url("../img/error_icon.svg");
  background-repeat: no-repeat;
  background-size: 2rem;
  flex-shrink: 0;
  vertical-align: middle;
}

.details-main {
  padding: 1rem 0 1rem 0;
  margin-bottom: 1rem;
}

/* title */
.title-div {
  display: flex;
  margin-bottom: 1rem;
  align-items: flex-end;
}

.wait-message {
  margin: 0 5rem;
  color: #1B88C2;
  padding: 0.2rem;
}

/* info section containers */
.info-section {
  margin: 0 2rem 0 2rem;
}

.collapsible-container {
  border-top: 1px solid rgb(221, 221, 221);
  cursor: pointer;
  margin: 1rem;
}

.collapsible-container-btn:focus {
  outline: none;
}

.collapsible-container-btn {
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: rgb(250, 250, 250);
  border-width: 0px 0px 1px;
  outline: none;
  padding: 16px 12px 16px 16px;
  border-style: initial;
}

.collapsible-container-btn:hover .collapsible-container-title {
  color: var(--primary-bqb);
}

.collapsible-container .content {
  max-height: 50rem;
  overflow: auto;
  transition: max-height 0.3s ease-out;
}

/* .collapsible-container-btn.active + .content {
  max-height: 0;
  overflow-x: hidden;
} */
.active {
  max-height: 0;
  overflow-x: hidden;
}

.get-quote-btn {
  display: flex;
  justify-content: center;
}

/* GENERAL STYLES FOR CARDS */
/* header cards */
.triunfo-header {
  background-color: #007749;
}

.mercantil-header {
  background-color: #0238E8;
}

.allianz-header {
  background-color: #003781;
}

.san-cristobal-header {
  background-color: #171669;
}

.experta-header {
  background-color: #06649c;
}

/* text */
.triunfo-text {
  color: #007749;
}

.mercantil-text {
  color: #0238E8;
}

.allianz-text {
  color: #003781;
}

.san-cristobal-text {
  color: #171669;
}

.title-section {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 5rem;
}

.btn-change {
  min-width: 6rem;
}

/* cards container */
.content {
  display: flex;
  align-items: center;
}

.quote-card-container {
  border-radius: 4px;
  border: 1px solid rgb(221, 221, 221);
  transition: all 0.3s ease 0s;
  margin: 1rem;
  box-sizing: border-box;
}

.quote-card-header {
  border-radius: 4px 4px 0px 0px;
  text-align: center;
  height: 3rem;
}

.company-header-img {
  width: 65%;
  height: 100%;
  /* max-width: 7rem; */
}

.plan-detail {
  padding: 8px 16px 16px;
  text-align: center;
  margin: 0px;
  min-width: 12rem;
}

.plan-detail-expand {
  width: 30rem;
  height: 30rem;
}

.plan-name {
  font-weight: 700;
  line-height: 1.2em;
  font-size: 1.4rem;
  white-space: normal;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.plan-value {
  color: rgb(51, 51, 51);
  font-size: 1.2rem;
}

.plan-body-container {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.plan-body {
  height: 26px;
  margin-top: 0px;
  margin-bottom: 0px;
  max-width: 190px;
  white-space: normal;
  flex: 1 1 auto;
}

.plan-body-title {
  color: rgb(119, 119, 119);
  font-weight: 600;
  font-size: 8px;
  margin-bottom: 1rem;
  line-height: 0.2rem;
  text-transform: uppercase;
}

.plan-body-amount {
  color: rgb(51, 51, 51);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 0px;
  line-height: 12px;
  text-align: center;
}

/* form */
.form-container {
  margin: 1rem 2rem 0 2rem;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.form-btns {
  display: flex;
  justify-content: space-evenly
}

.quoter-car-div {
  margin-top: 1rem;
}

.extra-data {
  margin: 0;
}

.more-info-button {
  border-radius: 4px;
  height: 2rem;
  font-size: 0.9rem;
  padding: 0px 1rem;
  background-color: rgb(255, 255, 255);
  color: var(--secondary-bqb);
  border: 1px solid var(--secondary-bqb);
}

.more-info-button:hover {
  background-color: rgb(224, 247, 250);
}

.more-info-button:focus {
  outline: none;
  border: 1px solid var(--secondary-bqb);
}

hr {
  margin: 0.5rem 0rem;
}

/* popUp */
/* .popup {
  width: 30rem;
  height: 75%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  z-index: 9999;
}
.popup-quote-card-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1rem;
}
.close-button {
  font-size: 2rem;
  background-color: transparent;
  border: 0 solid #E3E3E3;
  padding: 0.5rem;
  align-self: center;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  flex-shrink: 0;
  margin-right: 1rem;
}
.popup-company-header-img{
  align-self: center;
  flex-shrink: 0;
  margin: 0 auto;
  height: 4rem;
} */
/* TABLE STYLES */
.table-section {
  display: flex;
  justify-content: center;
}

.table-header {
  display: flex;
  font-weight: bold;
  background-color: var(--primary-bqb);
  color: #FFFFFF;
}

.cell-header {
  width: 12rem;
  border: 1px solid var(--secondary-bqb);
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center;
}

.cell {
  width: 12rem;
  border: 1px solid var(--secondary-bqb);
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
}

.cell-company {
  justify-content: center;
}

.cell-data {
  margin-top: 1rem;
  color: var(--primary-bqb);
}

.price-data {
  border-bottom: 1px solid var(--secondary-bqb);
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0;
}

/* CARDS MOBILE */
@media (max-width: 1199px) {
  .title-section {
    margin: 0 2rem;
  }
}

@media (max-width: 991px) {
  .title-div h1 {
    font-size: 2rem;
  }

  .box1 {
    border-radius: 0;
  }

  .info-section {
    margin: 0;
  }

  .cell {
    width: 4.7rem;
    display: flex;
    flex-direction: column !important;
    font-size: 0.8rem;
    min-height: 10rem;
  }

  .wait-message {
    margin: 0 1rem;
  }

  .img-company {
    transform: rotate(-90deg);
  }

  #form3 {
    box-sizing: content-box !important;
  }

  .modal-content-styles {
    margin: 4rem 0rem;
    padding: 1rem !important;

  }

}

.modal-dialog-styles {
  display: flex !important;
  justify-content: center !important;
}

.modal-style {
  margin-right: 10px !important;
  margin-left: 10px !important;
}

.modal-header {
  padding: 1rem !important;
  border: none !important;
  margin-left: 0px !important;
  display: flex;
  justify-content: space-between;
}

.addChainVehicle {
  margin-bottom: 1rem;
}

.addInjuredData {
  margin-top: 1rem;
}

.error-message {
  font-size: 14px;
  margin-top: 10px;
}


.success-box {
  background-color: white;
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  width: 90%;
  margin: 20px auto;
  position: relative;
  box-sizing: border-box;
}

.success-box h3 {
  font-size: clamp(18px, 5vw, 24px);
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.success-box h3::before {
  content: "";
  display: inline-block;
  width: clamp(20px, 5vw, 28px);
  height: clamp(20px, 5vw, 28px);
  margin-right: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234CAF50'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.success-box p {
  font-size: clamp(14px, 4vw, 16px);
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
}

.success-box p:last-of-type {
  margin-bottom: 20px;
}

.success-box strong {
  font-weight: 600;
  color: #444;
}

.success-box #ticketNumber {
  font-weight: 600;
  color: #007bff;
}

.success-box .btn-primary {
  background-color: #007bff;
  border: none;
  padding: clamp(8px, 2vw, 10px) clamp(15px, 4vw, 20px);
  border-radius: 4px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: clamp(14px, 4vw, 16px);
  display: inline-block;
  margin-top: 5px;
}

.success-box .btn-primary:hover {
  background-color: #0069d9;
}

/* Media queries for different screen sizes */
@media (max-width: 768px) {
  .success-box {
    padding: 20px;
    margin: 15px auto;
  }

  .box-center {
    max-width: 100%;
  }

}

@media (max-width: 480px) {
  .success-box {
    padding: 15px;
    width: 95%;
    margin: 10px auto;
  }

  .success-box h3 {
    flex-wrap: wrap;
  }
}