/* Base styles */
:root {
  --primary-color: #4f46e5;
  --primary-hover: #4338ca;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --bg-color: #f9fafb;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background: linear-gradient(to bottom right, #000000, #000000);
  min-height: 100vh;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header styles */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  align-items: center;
  padding: 1rem 0;
}

.header-icon {
  color: var(--primary-color);
  margin-right: 0.75rem;
}

.header-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
}

/* Form container styles */
.form-container {
  max-width: 42rem;
  margin: 2rem auto;
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

form {
  padding: 1.5rem;
}

/* Form group styles */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

input[type="text"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: all 0.2s;
}

input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Transaction toggle styles */
.transaction-toggle {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  overflow: hidden;
}

.toggle-btn {
  flex: 1;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--white);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.toggle-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

.toggle-btn:not(.active):hover {
  background: var(--bg-color);
}

/* Checkbox styles */
.checkbox-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  accent-color: var(--primary-color);
}

/* Price input styles */
.price-input {
  position: relative;
}

.dollar-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.price-input input {
  padding-left: 2.5rem;
}

/* Button styles */
.button-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.submit-btn,
.copy-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
}

.submit-btn:hover {
  background: var(--primary-hover);
}

.copy-btn {
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.copy-btn:not(:disabled):hover {
  background: var(--bg-color);
}

.copy-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.copy-icon {
  margin-right: 0.5rem;
}

/* Search suggestions styles */
.search-container {
  position: relative;
}

.suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  max-height: 15rem;
  overflow-y: auto;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.suggestion-item {
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.suggestion-item:hover {
  background: var(--bg-color);
}

/* Output styles */
.output-container {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
}

.output-container h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.output {
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-weight: 500;
  min-height: 3.125rem;
  display: flex;
  align-items: center;
}

.output .placeholder {
  color: var(--text-light);
}

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

.fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}
.shadow__btn {
  padding: 10px 20px;
  border: none;
  font-size: 17px;
  color: #fff;
  border-radius: 7px;
  letter-spacing: 4px;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.5s;
  transition-property: box-shadow;
  text-decoration: none;
}

.shadow__btn {
  background: rgb(0, 140, 255);
  box-shadow: 0 0 25px rgb(0, 140, 255);
}

.shadow__btn:hover {
  box-shadow: 0 0 5px rgb(0, 140, 255), 0 0 25px rgb(0, 140, 255),
    0 0 50px rgb(0, 140, 255), 0 0 100px rgb(0, 140, 255);
}
