
.payment-group {
  margin-top:20px;
  border: 1px solid #DEE3ED;
  border-radius: 4px;
  background: #fff;
  overflow: visible;
  position: relative;
  z-index: 1;
}
.payment-group:nth-child(2) {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom: 0px;
}

.payment-group:first-child {
  margin-top: 0px;
}

.payment-header {
  cursor: pointer;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.info-icon-wrapper {
  position: relative !important;
}
.payment-header{
  position:relative;
}

.info-tooltip{
  display:none;
  position:absolute;
  top:calc(100% + 8px);
  left:50%;
  transform:translateX(-50%);

  min-width:300px;
  max-width:450px;

  padding:12px 16px;
  background:#fff;
  border:1px solid #e0e0e0;
  border-radius:8px;
  box-shadow:0 4px 16px rgba(0,0,0,.15);
  z-index:999;
}
.info-tooltip::before,
.info-tooltip::after {
  content: none !important;
  display: none !important;
}

@media(max-width:767px){
  .info-tooltip{
    left:16px;
    right:16px;
    transform:none;
    min-width:0;
    max-width:none;
  }
}
.payment-header .group-title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: #222943;
}
.payment-header .information-filled {
  margin-left:12px;
}

.payment-header .group-arrow {
  position: relative;
  top: 6px;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top: 5px solid;
  border-right: 5px solid;
  transform: rotate(-45deg);
  position: relative;
  display: inline-block;
  vertical-align: middle;
  color: #717D8D;
  box-sizing: border-box;
}

.payment-row {
  position: relative;
  padding: 20px 24px;
  border-bottom: 1px solid #DEE3ED;
}

.payment-row:last-child {
  border-bottom: 0;
}

.grid-3col {
  display: grid;
  grid-template-columns: 45% 45% 10%;
  align-items: center;
  gap: 12px;
}

.cell {
  position: relative;
}

.cell::after {
  content: '';
  position: absolute;
  display: block;
  right: 10px;
  top: 4px;
  width: 1px;
  height: 22px;
  background-color: #DEE3ED;
}

.cell:last-child::after {
  display: none;
}

.cell.cell-title {
  font-size: 16px;
  font-weight: 400;
  color: #222943;
  line-height: 30px;
}

.cell.cell-installment {
  font-weight: 700;
}

.cell.cell-price {
  display: flex;
  align-items: center;
}

.cell.cell-price .installments-info {
  position: absolute;
  top: -15px;
  left: 0;
  font-size: 12px;
  font-weight: bold;
  color:#75AF0A;
}

.cell.cell-price .price {
  position: relative;
  padding-right: 15px;
  font-size: 20px;
  font-weight: 800;
  color: #222943;
}

.cell.cell-price .currency-and-month {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: #222943;
}

.cell.cell-price .currency-and-month .line {
  display: inline-block;
  font-weight: 300;
  color: #919EBA;
  background-color: #919EBA;
  width: 0px;
  font-size: 20px;
  margin: 0px 3px 0px 1px;
}

.cell.cell-price .price.line::after {
  position: absolute;
  content: '/';
  display: block;
  width: 5px;
  height: 20px;
  top: 0;
  right: 0;
  font-weight: 300;
  color: #919EBA;
}

.cell.cell-price .discount {
  margin-left: 12px;
}

.cell.cell-price .old-price {
  margin-left: 8px;
  font-size: 12px;
  position: relative;
  top: 1px;
  font-weight: 800;
  color: #e11d48;
  text-decoration: line-through;
}
.cell.cell-price .total-amount {
  position: relative;
  top: 2px;
  display: flex;
  align-items: center;
  padding-left: 9px;
}

.cell.cell-price .total-amount .text {
  margin-right: 7px;
  font-size: 14px;
  font-weight: 400;
  color:#414C5B;
}

.cell.cell-price .total-amount .total-price {
  font-size: 14px;
  font-weight: 700;
  color:#414C5B;
}

.payment-group:not(.is-open) .payment-content {
  display: none;
}

.payment-group .group-arrow {
  transition: transform 0.25s ease;
}

.payment-group.is-open .group-arrow {
  top: 0px;
  transform: rotate(135deg);
}

.payment-group:not(.is-open) .group-arrow {
  transform: rotate(-45deg);
}

/* link start */
.bottom_link {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  background-color: white;
  border-top:none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border:1px solid #DEE3ED;
}
.bottom_link p {
  margin-bottom:0px;
  font-size: 14px;
  font-weight: 600;
  color:#414C5B;
}
.bottom_link a {
  margin-left:2px;
  text-decoration: underline;
  font-size: 14px;
  font-weight: 600;
  color:#049EAD;
}
/* link end */

/* desc start */
.desc {
  padding: 30px 20px;
  border-radius: 4px;
  background-color: #ECF0F2;
}

.desc .title {
  font-size: 16px;
  font-weight: 700;
  color:#222943;
}

.desc .info {
  display: block;
  margin: 0;
  padding-left: 0px;
  margin-top: 5px;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 400;
  color:#414C5B;
}

.desc .btn {

}

/* desc end*/

/* fair finance table start */
.fair-finance {
  margin-top: 32px;
  padding-bottom: 12px;
}

.fair-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #191919;
}

/* ================= DESKTOP ================= */

.fair-desktop {
  display: block;
}

.fair-mobile {
  display: none;
}

.fair-table {
  border: 1px solid #DEE3ED;
  border-radius: 4px;
  overflow: hidden;
}

.fair-row {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr 1.5fr;
  align-items: center;
  /*padding: 16px 20px;*/
  border-bottom: 1px solid #DEE3ED;
  font-size: 15px;
  color: #191919;
}


.fair-row.fair-head div {
  display: flex;
  align-items: center;
  padding: 0px 20px;
  min-height: 52px;
  font-size: 14px;
  color:#222943;
  border-right: 1px solid #DEE3ED;
}

.fair-row.fair-content div {
  display: flex;
  align-items: center;
  padding: 5px 20px;
  min-height: 38px;
  font-size: 16px;
  color:#222943;
  border-right: 1px solid #DEE3ED;
}

.fair-row.fair-content div.total-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fair-row div:last-child {
  border-right: none;
}

.fair-row:last-child {
  border-bottom: none;
}

.fair-head {
  font-size: 14px;
  font-weight: 600;
  color: #222943;
  background: #F8F9FB;
}

.fair-head > div {
  height: 52px;
}

.fair-row.fair-content .first {
  font-weight: 700;
}

.fair-row strong {
  font-weight: 700;
  margin-right: 5px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .fair-desktop {
    display: none;
  }

  .fair-mobile {
    display: block;
  }

  .fair-title {
    font-size: 16px;
  }

  .fair-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    background: #fff;
  }

  .fair-card-grid {
    display: grid;
    grid-template-columns: 2fr 2fr;
    row-gap: 12px;
  }

  .fair-card-grid .item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .fair-card .label {
    font-size: 14px;
    font-weight: 600;
    color: #666F85;
  }

  .fair-card .value {
    font-size: 16px;
    color: #191919;
  }

  .fair-card .first .value , .fair-card .second .value {
    font-weight: 700;
  }

  .fair-card strong {
    font-weight: 700;
  }
  .fair-card .mobile-btn-wrapper {
    margin-top:15px;
    max-width: 76px;
  }
}

/* fair finance table end */

/* is-auth start */

.is-auth {
  margin-bottom: 32px;
}

.auth-card {
  background: #F8F9FB;
  border-radius: 6px;
  padding: 24px;
}

.auth-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222943;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
/* Floating group */

.form-group.floating {
  position: relative;
}

.form-group.floating .form-input {
  width: 100%;
  height: 56px;
  padding: 12px 12px 0px 12px;
  border: 1px solid #DEE3ED;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
  outline: none;
}

.form-group.floating label {
  position: absolute;
  left: 12px;
  top: 32%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 400;
  transition: 0.2s ease;
  pointer-events: none;
  color: #717D8D;
}

/* Focus veya value varsa yukarı çık */
.form-group.floating .form-input:focus + label,
.form-group.floating .form-input:not(:placeholder-shown) + label {
  transition: 0.2s ease;
  top: 12px;
  font-size: 11px;
}

/* Focus border */
.form-group.floating .form-input:focus {
  border-color: #001CC3;
}

/* ERROR STATE */
.form-group.has-error .form-input {
  border-bottom:3px solid #D92D20;
}

.form-group.has-error label {
  color: #D92D20;
}

.error-message {
  display: flex;
  align-items: center;
  margin-top: 6px;
  font-size: 12px;
  color: #D92D20;
}
.error-message span {
  margin-left: 5px;
}

/* checkbox */

.auth-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.auth-check input {
  width: 24px;
  height: 24px;
  border-radius: 2px;
  border: 1px solid #919EBA;
}

.auth-check label {
  font-size: 14px;
  color:#222943;
}

.auth-check .check-link {
  cursor: pointer;
  color: #049EAD;
}

.auth-check.has-error label , .auth-check.has-error label span {
  color:#E63425 !important;
}

.auth-info {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 16px;
  color: #414C5B;
}

.auth-submit {
  display: inline-block;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  border: none;
  min-width: 219px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 60px;
  color: #fff;
  background-color: #002855;
}

.auth-submit.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  background-color: #919EBA;
}

/* MOBILE */

@media (max-width: 768px) {
  .auth-grid {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  .auth-info {
    line-height: 18px;
  }
}

/* is-auth end */

/* is-loading start */
.is-loading {

}
.is-loading .loading-info {

}

.is-loading .loading-info__title {
  margin-bottom: 25px;
  font-size: 16px;
  font-weight: 700;
  color:#222943;
}
.is-loading .loading-info__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 150px;
}
.is-loading .loading-info__body .spinner-border.text-blue {
  color:#222943;
}

.is-loading .loading-info__body .loading-info__text {
  font-size: 14px;
  font-weight: 400;
  color:#222943;
}

/* is-loading end */

/* check new users start */

.is-check-new-users .title {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 700;
  color:#222943;
}

.is-check-new-users .box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0px 20px;
  border-radius: 4px;
  min-height: 88px;
  background-color: #ECF0F2;
  border:1px solid #DEE3ED;
}

.is-check-new-users .box .info {
  display: flex;
  align-items: center;
  width: 70%;
}
.is-check-new-users .box .info .item {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.is-check-new-users .box .info .item h5 {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 400;
  color:#717D8D;
}

.is-check-new-users .box .info .item span {
  font-size: 16px;
  font-weight: 400;
  color:#222943;
}

.is-check-new-users .btn {
  font-size: 16px;
  font-weight: 800;
  border-radius: 60px;
  border:1px solid #002855 !important;
  background-color: #FFFFFF !important;
  color:#002855 !important;
}

@media (max-width: 767px) {
  .is-check-new-users .box {
    padding: 20px;
    flex-direction: column;
  }
  .is-check-new-users .box .info .item {
    margin-bottom: 15px;
    width: 100%;
  }
  .is-check-new-users .box .info .item:last-child {
    margin-bottom: 0px;
  }
  .is-check-new-users .box .info {
    width: 100%;
    margin-bottom: 20px;
    flex-direction: column;
  }
  .is-check-new-users .btn {
    width: 100%;
  }
}

/* check new users end */



@media (max-width: 767px) {
  .grid-3col {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .cell {
    text-align: left !important;
  }

  .select-btn {
    width: 100%;
  }
  .is-guest .select-btn {
    max-width: 118px;
    padding: 11px 0px;
  }
  .payment-header {
    padding: 32px 24px;
  }
  .cell::after {
    display: none;
  }
  .payment-header .group-title {
    max-width: 275px;
    align-items: flex-start;
  }
  .cell.cell-price .installments-info {
    position: static;
  }
  .cell.cell-price.installment-price {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .cell.cell-action {
    position: absolute;
    top: 30%;
    right: 20px;
  }
  .bottom_link p {
    line-height: 18px;
  }
  .cell.cell-price .total-amount{
    padding-left: 0;
  }
}
