/* Modal base */
.ftg-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Modal card */
.ftg-modal-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  width: 400px;
  max-width: 90%;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-family: "Inter", sans-serif;
}

/* Close button */
.ftg-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.ftg-close-btn:hover { color: #000; }

/* Tabs */
.ftg-tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}
.ftg-tab {
  flex: 1;
  padding: 0.75rem 0;
  font-weight: 600;
  color: #555;
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: 1rem;
}
.ftg-tab.active {
  color: #000;
  border-bottom: 3px solid #7b61ff;
}

/* Forms */
.ftg-form { display: none; }
.ftg-form.active { display: block; }

/* Labels + Inputs */
.ftg-modal-card label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}
.ftg-modal-card input {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #f7f9fc;
  font-size: 0.95rem;
}

/* Buttons */
.ftg-btn {
  width: 100%;
  padding: 0.9rem;
  background: #7b61ff;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.ftg-btn:hover { background: #6749e6; }