/* CONTAINER */
.fz-container {
  max-width: 420px;
  margin: auto;
  font-family: system-ui;
}

/* FLEX ROW */
.fz-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BOX */
.fz-box {
  position: relative;
}

.fz-input-wrap {
  position: relative;
  flex: 1;
}

/* INPUT */
#fz-input {
  width: 100%;
  padding: 12px 35px 12px 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  transition: 0.2s;
}

#fz-input:focus {
  border-color: #2d6cdf;
  outline: none;
  box-shadow: 0 0 0 2px rgba(45,108,223,0.1);
}

/* DROPDOWN ICON */
.fz-dropdown-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
  font-size: 12px;
}

/* DROPDOWN */
.fz-dropdown {
  position: absolute;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-top: 5px;
  max-height: 250px;
  overflow-y: auto;
  display: none;
  z-index: 9999;
}

/* DROPDOWN ITEM */
.fz-item {
  padding: 12px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #f1f1f1;
}

.fz-item:last-child {
  border-bottom: none;
}

.fz-item:hover {
  background: #2d6cdf;
  color: #fff;
}

/* BUTTON */
#fz-btn {
  white-space: nowrap;
  padding: 12px 16px;
  border: none;
  background: linear-gradient(135deg, #2d6cdf, #1e4bb8);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

#fz-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* RESULT CARD */
.fz-result {
  position: relative;
  margin-top: 20px;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  animation: fadeIn 0.3s ease;
  transition: 0.2s;
}

/* CLOSE BUTTON */
.fz-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 18px;
  cursor: pointer;
  color: #666;
  transition: 0.2s;
}

.fz-close:hover {
  color: #000;
}

/* SUCCESS */
.fz-result.accepted {
  background: #ecfdf5;
  border: 1px solid #22c55e;
}

/* WARNING */
.fz-result.not {
  background: #fff7ed;
  border: 1px solid #f59e0b;
}

/* TEXT */
.fz-result h3 {
  margin: 0;
  font-size: 18px;
}

.fz-result p {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}
#fz-btn {
    width: 122px;
}

/* ANIMATION */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}