/* Pagini de plată (checkout + rezultat) */
.plata-section {
  background: #fff;
}
.plata-section .section-heading {
  margin-bottom: 40px;
}
.plata-section .section-heading p {
  font-size: 16px;
  color: rgba(34, 31, 26, 0.75);
  margin-top: 12px;
}
.plata-form-wrapper {
  border: 1px solid rgba(50, 68, 56, 0.2);
  border-radius: 20px;
  padding: 32px 24px;
  background: #fff;
}
@media (min-width: 768px) {
  .plata-form-wrapper {
    padding: 40px;
  }
}
.plata-form__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #221f1a;
}
.plata-form__title + .plata-form__title {
  margin-top: 30px;
}
.plata-form .form-group {
  margin-bottom: 18px;
}
.plata-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #221f1a;
  margin-bottom: 6px;
}
.plata-form label .opt {
  font-weight: 400;
  color: rgba(34, 31, 26, 0.55);
}
.plata-form .form-control {
  width: 100%;
  border: 1px solid rgba(50, 68, 56, 0.35);
  border-radius: 500px;
  padding: 13px 22px;
  font-size: 15px;
  color: #221f1a;
  background: #fff;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.plata-form .form-control:focus {
  outline: none;
  border-color: #324438;
  box-shadow: 0 0 0 3px rgba(244, 185, 5, 0.35);
}
.plata-form .form-control.is-invalid {
  border-color: #c0392b;
}
.plata-form .field-error {
  display: none;
  font-size: 13px;
  color: #c0392b;
  margin: 4px 0 0 12px;
}
.plata-form .is-invalid ~ .field-error,
.plata-form .form-check.is-invalid .field-error {
  display: block;
}
.plata-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(34, 31, 26, 0.85);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.plata-form .form-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #324438;
  cursor: pointer;
}
.plata-form .form-check label {
  flex: 1 1 0;
  min-width: 200px;
  font-weight: 400;
  margin: 0;
  cursor: pointer;
}
.plata-form .form-check .field-error {
  flex-basis: 100%;
  margin-left: 32px;
}
.plata-form .form-check a {
  color: #324438;
  text-decoration: underline;
}
.plata-form button[type="submit"] {
  margin-top: 10px;
}
.plata-form button[disabled] {
  opacity: 0.65;
  cursor: wait;
}
.plata-alert {
  display: none;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 22px;
}
.plata-alert.is-visible {
  display: block;
}
.plata-alert--error {
  background: #fdecea;
  color: #8a1c12;
  border: 1px solid #f5c2bd;
}
.plata-alert--info {
  background: #fff6d6;
  color: #6b4f00;
  border: 1px solid #f4d77a;
}
.plata-secure {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(34, 31, 26, 0.7);
}
.plata-secure i {
  color: #324438;
  font-size: 16px;
}

/* sumar comandă */
.plata-summary {
  position: sticky;
  top: 110px;
}
.plata-summary .pricing-card-4__list {
  margin-top: 20px;
}
.plata-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 24px;
  padding-top: 18px;
  font-weight: 700;
  color: #fff;
}
.plata-summary__total span:last-child {
  font-size: 22px;
}
.pricing-card-4 .plata-summary__note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.pricing-card-4 .plata-summary__note a {
  color: #f4b905;
  text-decoration: underline;
}

/* pagina de rezultat */
.plata-rezultat-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(50, 68, 56, 0.2);
}
@media (min-width: 768px) {
  .plata-rezultat-card {
    padding: 56px 48px;
  }
}
.plata-rezultat-card .icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 22px;
}
.plata-rezultat-card .icon--ok {
  background: #e6f4ea;
  color: #1e7e34;
}
.plata-rezultat-card .icon--pending {
  background: #fff6d6;
  color: #a07500;
}
.plata-rezultat-card .icon--fail {
  background: #fdecea;
  color: #c0392b;
}
.plata-rezultat-card .icon--info {
  background: #eef2f0;
  color: #324438;
}
.plata-rezultat-card h1 {
  font-size: 28px;
  font-weight: 700;
  color: #221f1a;
  margin-bottom: 12px;
}
.plata-rezultat-card p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(34, 31, 26, 0.8);
}
.plata-rezultat-card .meta {
  font-size: 14px;
  color: rgba(34, 31, 26, 0.6);
  margin-top: 18px;
}
.plata-rezultat-card .meta strong {
  color: #221f1a;
}
.plata-rezultat-card .actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.plata-rezultat-card .icon--pending .lds-ellipsis {
  transform: scale(0.6);
}
.plata-rezultat-card .icon--pending .lds-ellipsis div {
  background: #a07500;
}

.plata-summary__lines {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 18px;
}

.plata-summary__lines > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.plata-summary__lines > div + div {
  margin-top: 6px;
}

.plata-summary__lines + .plata-summary__total {
  margin-top: 14px;
  padding-top: 14px;
}
