/* ==========================================
   GFLOATCONTACT WIDGET STYLES
   ========================================== */
#gfloatcontact-widget *, 
#gfloatcontact-widget *::before, 
#gfloatcontact-widget *::after {
  box-sizing: border-box;
}

#gfloatcontact-widget {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #212531;
}

.gfc-trigger {
  position: fixed;
  bottom: 32px;
  right: 32px;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  background: radial-gradient(circle at top, #1c64f2, #1346c6);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(20, 44, 113, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 9999;
}

.gfc-trigger span {
  display: flex;
  align-items: center;
}

.gfc-trigger-text {
  display: inline;
}

.gfc-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 42px rgba(20, 44, 113, 0.35);
}

.gfc-trigger.gfc-active {
  background: #94a3b8;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: none !important;
}

.gfc-panel {
  position: fixed;
  bottom: 110px;
  right: 32px;
  width: 320px;
  max-width: calc(100vw - 64px);
  padding: 22px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 38px 60px rgba(15, 23, 42, 0.25);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10000;
}

.gfc-panel.gfc-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.gfc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.gfc-header h3 {
  margin: 0;
  font-size: 18px;
  color: #516279;
}

.gfc-close-btn {
  background: transparent;
  border: none;
  color: #516279;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.gfc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gfc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.gfc-item:hover {
  background: #fff;
  border-color: #757982;
  box-shadow: 0 4px 12px rgba(28, 100, 242, 0.1);
  transform: translateX(4px);
}

.gfc-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 10px;
}

.gfc-icon img {
  width: 36px;
  height: 36px;
}

.gfc-info {
  flex: 1;
}

.gfc-info strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #474d56;
  margin-bottom: 2px;
}

.gfc-info span {
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
}

.gfc-form-container {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.gfc-form-container.gfc-active {
  display: block;
}

.gfc-form-group {
  margin-bottom: 12px;
}

.gfc-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}

.gfc-form-group input, 
.gfc-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.gfc-form-group input:focus, 
.gfc-form-group textarea:focus {
  outline: none;
  border-color: #1c64f2;
  box-shadow: 0 0 0 3px rgba(28, 100, 242, 0.1);
}

.gfc-send-btn {
  width: 100%;
  padding: 12px;
  background: #1c64f2;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.gfc-send-btn:hover {
  background: #1346c6;
}

.gfc-back-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-family: inherit;
}

.gfc-back-btn:hover {
  color: rgb(78, 98, 130)
}

.gfc-error-msg {
  color: #dc2626;
  font-size: 11px;
  margin-top: 4px;
  display: none;
  font-weight: 500;
}

.gfc-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
}

@media (max-width: 768px) {
  .gfc-backdrop.gfc-show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .gfc-panel {
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
    bottom: 100px;
  }
  .gfc-trigger {
    right: 16px;
    bottom: 26px;
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
  }
  .gfc-trigger-text {
    display: none !important;
  }
}