/**
 * Radios estilo tarjeta (mismas clases que page-encuesta-actividad).
 * Archivo acotado para no arrastrar reglas globales de .container de la encuesta.
 */

.forma-pago-radio-cards__titulo {
  display: block;
  margin-bottom: 0.5rem;
  font-size: smaller;
}

.radio-group {
  display: flex;
  gap: 5px;
}

.radio-group.row {
  flex-direction: row;
  place-content: space-between;
}

.radio-group.row > div {
  flex: 1;
}

.radio-group.column {
  flex-direction: column;
}

.radio-card {
  display: none;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1px;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.radio-label:hover {
  border-color: rgba(2, 18, 203, 0.2);
  background-color: rgba(2, 18, 203, 0.05);
}

.check-circle {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.flex-none {
  flex: none;
}

.check-icon {
  display: none;
  color: white;
  width: 1rem;
  height: 1rem;
}

.radio-card:checked + .radio-label {
  border-color: #0212cb;
  background-color: rgba(2, 18, 203, 0.05);
}

.radio-card:checked + .radio-label .check-circle {
  background-color: #0212cb;
  border-color: #0212cb;
}

.radio-card:checked + .radio-label .check-icon {
  display: block;
}

.radio-text {
  color: #374151;
}

.forma-pago-radio-cards--actividad .radio-group {
  gap: 10px;
}

.radio-label--pasarela {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid #dbe3ff;
  border-radius: 10px;
  background-color: #ffffff;
}

.pasarela-content-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.pasarela-textos {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pasarela-descripcion {
  font-size: 12px;
  line-height: 1.35;
  color: #6b7280;
}

.pasarela-content-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 44px;
}

.radio-label--pasarela .radio-text {
  font-weight: 600;
}

.pasarela-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 9999px;
  margin: 0!important;
  display: block;
}
