/* Estilos para el popup de selección de plataforma */

.popup-platform-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-platform-content {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 520px;
  width: 90%;
  max-height: 90%;
  overflow-y: auto;
}

.popup-platform-title {
  text-align: center;
  margin: 0;
  color: #333;
  font-family: "Montserrat Bold", sans-serif;
  font-size: 1.17em;
  font-weight: bold;
  line-height: 1.3;
}

.popup-platform-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0 auto;
  max-width: 448px;
  padding: 32px 0;
}

.popup-platform-item {
  display: flex;
}

.popup-platform-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 12px 88px;
  border: 1px solid #ed0e0e;
  border-radius: 4px;
  background: #fff;
  color: #ed0e0e;
  font-family: "Montserrat Book", sans-serif;
  cursor: pointer;
  text-transform: inherit;
  transition: background-color 0.3s;
}

.popup-platform-button:hover {
  background-color: #fdf0f0;
}

.popup-platform-logo {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  height: 32px;
  object-fit: contain;
  object-position: left center;
}

.popup-platform-name {
  display: block;
  width: 100%;
  text-align: center;
  white-space: normal;
  font-size: 1.1em;
  font-weight: bold;
  line-height: 1.2;
}

.popup-platform-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 16px;
  height: 16px;
  color: #ed0e0e;
}

.popup-platform-chevron svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 768px) {
  .popup-platform-content {
    width: calc(100% - 32px);
    max-width: none;
    padding: 20px 16px;
  }

  .popup-platform-list {
    gap: 12px;
    padding: 20px 0;
  }

  .popup-platform-button {
    padding: 12px 68px;
  }

  .popup-platform-logo {
    left: 12px;
    width: 52px;
    height: 26px;
  }

  .popup-platform-name {
    font-size: 1em;
  }

  .popup-platform-chevron {
    right: 12px;
  }
}
