/**
 * Signup Form Scroll Styles
 * @package ReasonableSpreadPlugin
 */

/* Scroll Overlay */
.reasonable-scroll-overlay {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  animation: reasonable-slideInUp 0.5s ease;
}

@keyframes reasonable-slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Modal Content */
.reasonable-scroll-content {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  width: 360px;
  max-width: calc(100vw - 40px);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
}

/* Close Button */
.reasonable-scroll-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  border-radius: 50%;
}

.reasonable-scroll-close:hover {
  color: #333;
  background: #f5f5f5;
}

/* Header */
.reasonable-scroll-header {
  margin-bottom: 20px;
}

.reasonable-scroll-title {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.reasonable-scroll-description {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Form Styles */
.reasonable-form-scroll {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reasonable-input-scroll {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.reasonable-input-scroll:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.reasonable-submit-button-scroll {
  width: 100%;
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.1s ease;
}

.reasonable-submit-button-scroll:hover {
  background: #005a87;
}

.reasonable-submit-button-scroll:active {
  transform: scale(0.98);
}

.reasonable-submit-button-scroll:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 480px) {
  .reasonable-scroll-overlay {
    bottom: 10px;
    right: 10px;
    left: 10px;
  }

  .reasonable-scroll-content {
    width: 100%;
    padding: 20px;
  }

  .reasonable-scroll-title {
    font-size: 18px;
  }
}
