/* WondarCore — código propio, no generado. Se puede modificar libremente. */
/* Modal de login in-place (Google, popup) — parte del layout, ver _Layout.cshtml y login-modal.js. */

.lm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 30, 0.55);
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.lm-overlay--visible { opacity: 1; pointer-events: auto; }

.lm-panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 380px;
  width: 100%;
  padding: 32px 28px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.lm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: 50%;
  border: none;
  background: #f0f1f5;
  color: #666;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lm-close:hover { background: #e4e6ec; }

.lm-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 4px 0 8px;
}

.lm-sub {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.5;
  margin-bottom: 24px;
}

.lm-google-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  border: 1.5px solid #ddd;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.lm-google-btn:hover { background: #f7f7f9; border-color: #bbb; }
.lm-google-btn:disabled { opacity: 0.65; cursor: default; }

@media (max-width: 480px) {
  .lm-panel { padding: 28px 20px 22px; }
}
