.estatify-agent-widget.agent-style-2 {
  background: #fff;
  border-radius: 12px;
  box-shadow: none;
  padding: 0;
  max-width: none;
  margin: 0;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}
.agent-style-2 .agent-header {
  padding: 24px 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.agent-style-2 .agent-avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #153a6b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 32px;
  overflow: hidden;
}
.agent-style-2 .agent-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agent-style-2 .agent-avatar-initial {
  line-height: 1;
}
.agent-style-2 .agent-name {
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
}
.agent-style-2 .agent-phone-button {
  width: 100%;
  border: 2px solid #153a6b;
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #153a6b;
  font-weight: 600;
  text-decoration: none;
}
.agent-style-2 .agent-phone-button i {
  font-size: 0.95rem;
}
.agent-style-2 .agent-phone-button:hover {
  background: #153a6b;
  color: #fff;
}
.agent-style-2 .agent-contact-form {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}


/* Fallback heading/subheading (no agent) */
.agent-style-2 .agent-fallback-heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.agent-style-2 .agent-fallback-subheading {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 16px;
}
.agent-style-2 .agent-contact-form input,
.agent-style-2 .agent-contact-form select,
.agent-style-2 .agent-contact-form textarea {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.agent-style-2 .agent-contact-form input:focus,
.agent-style-2 .agent-contact-form select:focus,
.agent-style-2 .agent-contact-form textarea:focus {
  border-color: #6dc12b;
  box-shadow: 0 0 0 1px rgba(109,193,43,0.2);
  outline: none;
}
.agent-style-2 .agent-contact-form textarea {
  min-height: 80px;
  resize: vertical;
}
.agent-style-2 .agent-terms {
  font-size: 0.92em;
  color: #888;
  margin-bottom: 6px;
}
.agent-style-2 .agent-terms a {
  color: #6dc12b;
  text-decoration: underline;
}
.agent-style-2 .agent-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.agent-style-2 .elementor-button {
  border-radius: 4px;
  font-weight: 600;
  padding: 10px 18px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
  flex: 1;
  min-width: 120px;
  text-align: center;
}
.agent-style-2 .elementor-button:hover {
  opacity: 0.96;
}
.agent-style-2 .elementor-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
/* Modal Styles */
.agent-form-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.agent-form-modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.agent-form-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
}
.agent-form-modal-close:hover {
  color: #333;
}
/* Responsive Styles */
@media (max-width: 480px) {
  .estatify-agent-widget.agent-style-2 {
    padding: 0;
  }
  .agent-style-2 .agent-form-actions {
    flex-direction: column;
  }
  .agent-style-2 .elementor-button {
    width: 100%;
  }
} 