/* ============================================================
   AZAY AGENT — LINE ปุ่มลอย + ฟอร์มลีด (สไตล์)
   ไม่ต้องแก้ไฟล์นี้ ใส่ไว้เฉยๆ
============================================================= */

.azay-line-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #06C755;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  cursor: pointer;
  z-index: 9998;
  transition: transform 0.2s ease;
  animation: azay-pulse 2.2s infinite;
}
.azay-line-fab:hover { transform: scale(1.08); }
.azay-line-fab svg { width: 32px; height: 32px; }

@keyframes azay-pulse {
  0% { box-shadow: 0 0 0 0 rgba(6,199,85,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(6,199,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(6,199,85,0); }
}

.azay-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.azay-modal-overlay.active { display: flex; }

.azay-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  padding: 28px 24px 24px;
  position: relative;
  font-family: 'Prompt', sans-serif, Arial;
  animation: azay-pop 0.25s ease;
}
@keyframes azay-pop {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.azay-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}
.azay-modal-close:hover { color: #333; }

.azay-modal h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #1a1a1a;
}
.azay-modal p.azay-sub {
  margin: 0 0 20px;
  font-size: 14px;
  color: #777;
}

.azay-field { margin-bottom: 14px; }
.azay-field label {
  display: block;
  font-size: 13px;
  color: #444;
  margin-bottom: 6px;
  font-weight: 500;
}
.azay-field input,
.azay-field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  background: #fafafa;
}
.azay-field input:focus,
.azay-field select:focus {
  outline: none;
  border-color: #06C755;
  background: #fff;
}

.azay-submit-btn {
  width: 100%;
  background: #06C755;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-top: 4px;
  transition: background 0.15s ease;
}
.azay-submit-btn:hover { background: #05b34c; }
.azay-submit-btn:disabled { background: #aaa; cursor: not-allowed; }

.azay-consent { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 14px; }
.azay-consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 15px; height: 15px; accent-color: #06C755; cursor: pointer; }
.azay-consent label { font-size: 12px; color: #777; line-height: 1.5; cursor: pointer; }
.azay-consent a { color: #06C755; text-decoration: underline; }

.azay-or-line {
  text-align: center;
  margin: 16px 0;
  color: #aaa;
  font-size: 12px;
  position: relative;
}
.azay-or-line::before, .azay-or-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #eee;
}
.azay-or-line::before { left: 0; }
.azay-or-line::after { right: 0; }

.azay-line-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #fff;
  color: #06C755;
  border: 1.5px solid #06C755;
  border-radius: 8px;
  padding: 11px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  box-sizing: border-box;
}
.azay-line-direct:hover { background: #f0fdf5; }

.azay-fb-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #fff;
  color: #1877F2;
  border: 1.5px solid #1877F2;
  border-radius: 8px;
  padding: 11px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  box-sizing: border-box;
  margin-top: 10px;
}
.azay-fb-direct:hover { background: #f0f6ff; }

.azay-success {
  text-align: center;
  padding: 10px 0 4px;
}
.azay-success svg { width: 52px; height: 52px; margin-bottom: 12px; }
.azay-success h3 { margin-bottom: 8px; }
.azay-success p { color: #777; font-size: 14px; }
