/* Concrix Shared Styles */

/* ==========================================================================
   Button Components
   ========================================================================== */

.btn-primary {
  background-color: #004E66;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background-color: #8A2C1E;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  border: 2px solid #004E66;
  color: #004E66;
  background-color: transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: colors 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background-color: #8A2C1E;
  color: white;
}

.btn-ghost {
  color: #004E66;
  font-weight: 500;
  transition: colors 0.2s ease;
}

.btn-ghost:hover {
  color: #8A2C1E;
}

.btn-icon {
  padding: 0.5rem;
  border-radius: 0.375rem;
  color: #374151;
  transition: colors 0.2s ease;
}

.btn-icon:hover {
  color: #8A2C1E;
  background-color: #f3f4f6;
}

/* ==========================================================================
   Navigation Components
   ========================================================================== */

.nav-link {
  color: #374151;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #8A2C1E;
}

.cart-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  background-color: #004E66;
  color: white;
  font-size: 0.75rem;
  line-height: 1rem;
  border-radius: 9999px;
  height: 1.25rem;
  width: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ==========================================================================
   Card Components
   ========================================================================== */

.card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: #5A7D96;
}

.card-product {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card-product:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: #5A7D96;
}

.card-content {
  padding: 1.5rem;
}

.card-compact {
  padding: 1rem;
}

.card-product-image {
  aspect-ratio: 16 / 12;
  background-color: #f3f4f6;
  position: relative;
  overflow: hidden;
}

.card-product-image img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.card-product-image-compact img {
  width: 100%;
  height: 8rem;
  object-fit: cover;
}

/* Product Card Variants */
.card-product-featured {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card-product-featured:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: #5A7D96;
}

.card-product-grid {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.card-product-grid:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: #5A7D96;
}

.card-product-minimal {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card-product-minimal:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: #5A7D96;
}

/* ==========================================================================
   Form Components
   ========================================================================== */

.form-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #004E66;
  box-shadow: 0 0 0 3px rgba(0, 78, 102, 0.1);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.form-select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: white;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-select:focus {
  outline: none;
  border-color: #004E66;
  box-shadow: 0 0 0 3px rgba(0, 78, 102, 0.1);
}

.form-textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  min-height: 5rem;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-textarea:focus {
  outline: none;
  border-color: #004E66;
  box-shadow: 0 0 0 3px rgba(0, 78, 102, 0.1);
}

.form-checkbox {
  border-radius: 0.25rem;
  color: #004E66;
  border: 1px solid #d1d5db;
  width: 1rem;
  height: 1rem;
}

.form-checkbox:checked {
  background-color: #004E66;
  border-color: #004E66;
}

.form-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 78, 102, 0.1);
}

.form-radio {
  color: #004E66;
  border: 1px solid #d1d5db;
  width: 1rem;
  height: 1rem;
}

.form-radio:checked {
  background-color: #004E66;
  border-color: #004E66;
}

.form-radio:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 78, 102, 0.1);
}

/* ==========================================================================
   Status Badges
   ========================================================================== */

.badge {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  display: inline-flex;
  align-items: center;
}

.badge-available {
  background-color: #dcfce7;
  color: #166534;
}

.badge-limited {
  background-color: #fee2e2;
  color: #991b1b;
}

.badge-premium {
  background-color: #f3e8ff;
  color: #6b21a8;
}

.badge-bulk {
  background-color: #dbeafe;
  color: #1e40af;
}

.badge-clearance {
  background-color: #fed7aa;
  color: #9a3412;
}

.badge-pilot {
  background-color: #fef3c7;
  color: #92400e;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

.page-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .page-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .page-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.grid-products {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-features {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Text Components
   ========================================================================== */

.heading-1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  color: #111827;
}

@media (min-width: 1024px) {
  .heading-1 {
    font-size: 3rem;
    line-height: 1;
  }
}

.heading-2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: #111827;
}

@media (min-width: 1024px) {
  .heading-2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.heading-3 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #111827;
}

.text-subtitle {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: #4b5563;
}

.text-muted {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #4b5563;
}

/* ==========================================================================
   Animation Classes
   ========================================================================== */

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

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

.slide-in-right {
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
}

.slide-in-right.active {
  transform: translateX(0);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.group-hover-scale {
  transition: transform 0.2s ease;
}

.group:hover .group-hover-scale {
  transform: scale(1.1);
}

.price-display {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: #004E66;
}

.price-old {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #6b7280;
  text-decoration: line-through;
}

.location-tag {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #4b5563;
}

/* ==========================================================================
   Mobile Specific
   ========================================================================== */

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  background-color: white;
  transform: translateX(100%);
  transition: transform 300ms ease-in-out;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu.hidden {
  transform: translateX(100%);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
}

/* ==========================================================================
   Image Handling
   ========================================================================== */

.image-placeholder {
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.image-loading {
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-error {
  background-color: #fef2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
}

.image-lazy {
  transition: opacity 300ms ease;
  opacity: 0;
}

.image-lazy.loaded {
  opacity: 1;
}

/* Product Card Action Buttons */
.product-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.group:hover .product-actions {
  opacity: 1;
}

.product-action-btn {
  padding: 0.5rem;
  background-color: white;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease;
}

.product-action-btn:hover {
  background-color: #f9fafb;
}

.product-main-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .product-main-actions {
    flex-direction: row;
  }
}

/* ==========================================================================
   Responsive Design Utilities
   ========================================================================== */

/* Container Utilities */
.container-responsive {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-responsive {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-responsive {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Grid Utilities - Clean Definitions */
.grid-responsive-products {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-responsive-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .grid-responsive-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .grid-responsive-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-responsive-features {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-responsive-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-responsive-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.grid-responsive-listings {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-responsive-listings {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-responsive-listings {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Typography Utilities */
.text-responsive-hero {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

@media (min-width: 640px) {
  .text-responsive-hero {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

@media (min-width: 768px) {
  .text-responsive-hero {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .text-responsive-hero {
    font-size: 3.75rem;
    line-height: 1;
  }
}

.text-responsive-heading {
  font-size: 1.5rem;
  line-height: 2rem;
}

@media (min-width: 640px) {
  .text-responsive-heading {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .text-responsive-heading {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

.text-responsive-subheading {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

@media (min-width: 640px) {
  .text-responsive-subheading {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .text-responsive-subheading {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

/* Touch Targets */
.touch-target {
  min-width: 3rem;
  min-height: 3rem;
}

.touch-target-large {
  min-width: 4rem;
  min-height: 4rem;
}

/* Layout Utilities */
.layout-two-column {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .layout-two-column {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.layout-three-column {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .layout-three-column {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.layout-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .layout-sidebar {
    flex-direction: row;
    gap: 2rem;
  }
}

/* Mobile-First Components */
.mobile-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .mobile-stack {
    flex-direction: row;
    gap: 1rem;
  }
}

.mobile-full {
  width: 100%;
}

@media (min-width: 640px) {
  .mobile-full {
    width: auto;
  }
}

/* Filter Sidebar Responsive */
.filters-sidebar {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .filters-sidebar {
    width: 16rem;
  }
}

@media (max-width: 1023px) {
  .filters-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    background: white;
    overflow-y: auto;
  }
  
  .filters-sidebar.active {
    transform: translateX(0);
  }
  
  .filters-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
  }
}

/* Responsive Table */
.table-responsive {
  display: block;
  width: 100%;
}

@media (min-width: 640px) {
  .table-responsive {
    display: table;
  }
}

.table-responsive tr {
  display: block;
  border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 640px) {
  .table-responsive tr {
    display: table-row;
    border-bottom: none;
  }
}

.table-responsive td,
.table-responsive th {
  display: block;
  padding: 0.5rem 0;
}

@media (min-width: 640px) {
  .table-responsive td,
  .table-responsive th {
    display: table-cell;
    padding: 0.5rem 0.75rem;
  }
}

/* Cart Responsive */
.cart-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cart-item {
    flex-direction: row;
  }
}

.cart-item-image {
  width: 100%;
  height: 6rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .cart-item-image {
    width: 6rem;
  }
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-actions {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .cart-item-actions {
    flex-direction: column;
    justify-content: flex-start;
  }
}

/* Form Responsive */
.form-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-grid-full {
  grid-column: span 1;
}

@media (min-width: 640px) {
  .form-grid-full {
    grid-column: span 2;
  }
}

.radio-option {
  min-height: 4rem;
  cursor: pointer;
}

/* Product Detail Responsive */
.product-detail-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .product-detail-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.image-thumbnails {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .image-thumbnails {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quantity-selector {
  width: 100%;
  display: flex;
  align-items: center;
}

@media (min-width: 640px) {
  .quantity-selector {
    width: auto;
  }
}

/* ==========================================================================
   Custom Hover Colors Override
   ========================================================================== */

/* Override Tailwind primary hover colors */
.hover\\:bg-primary-700:hover {
  background-color: #8A2C1E !important;
}

.hover\\:text-primary-700:hover {
  color: #8A2C1E !important;
}

.hover\\:bg-primary-100:hover {
  background-color: #fef2f2 !important;
}

/* Card hover colors */
.card-hover:hover,
.card-product:hover,
.card-product-featured:hover,
.card-product-grid:hover,
.card-product-minimal:hover {
  border-color: #8A2C1E !important;
}

/* Text hover colors */
.hover\\:text-primary-600:hover {
  color: #8A2C1E !important;
}

.hover\\:text-primary-400:hover {
  color: #8A2C1E !important;
}

/* Border hover colors */
.hover\\:border-primary-600:hover {
  border-color: #8A2C1E !important;
}

.hover\\:border-primary-500:hover {
  border-color: #8A2C1E !important;
}

.hover\\:border-primary-400:hover {
  border-color: #8A2C1E !important;
}

.hover\\:border-primary-300:hover {
  border-color: #8A2C1E !important;
}

/* Background hover colors for primary */
.hover\\:bg-primary-600:hover {
  background-color: #8A2C1E !important;
}

.hover\\:bg-primary-500:hover {
  background-color: #8A2C1E !important;
}

.hover\\:bg-primary-400:hover {
  background-color: #8A2C1E !important;
}

/* Group hover text colors */
.group:hover .group-hover\\:text-primary-600 {
  color: #8A2C1E !important;
}


/* Additional hover states */
.hover\\:bg-gray-50:hover {
  background-color: #f9fafb;
}

.hover\\:bg-gray-100:hover {
  background-color: #f3f4f6;
}

/* Red hover for delete/remove buttons */
.hover\\:text-red-600:hover {
  color: #dc2626 !important;
}

/* Gray text hover states */
.hover\\:text-gray-700:hover {
  color: #374151;
}

.hover\\:text-gray-900:hover {
  color: #111827;
}

/* White background hover */
.hover\\:bg-white:hover {
  background-color: white;
}

/* Group hover for text colors */
.group-hover\\:text-primary-600 {
  transition: color 0.2s ease;
}

/* ==========================================================================
   Coming Soon Page Specific Styles
   ========================================================================== */

/* Waitlist form enhancements */
.waitlist-form-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 1rem;
  background-color: white;
}

.waitlist-form-input:focus {
  outline: none;
  border-color: #004E66;
  box-shadow: 0 0 0 3px rgba(0, 78, 102, 0.1);
}

.waitlist-form-input:invalid {
  border-color: #ef4444;
}

.waitlist-form-input:invalid:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Waitlist button styles */
.waitlist-btn {
  background-color: #004E66;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
}

.waitlist-btn:hover:not(:disabled) {
  background-color: #8A2C1E;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.waitlist-btn:active:not(:disabled) {
  transform: translateY(0);
}

.waitlist-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Loading spinner for waitlist form */
.waitlist-loader {
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Toast notification styles */
.toast-notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  max-width: 24rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.toast-notification.show {
  transform: translateX(0);
}

.toast-content {
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.toast-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.toast-warning {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fed7aa;
}

.toast-info {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* Thank you message styles */
.thank-you-container {
  text-align: center;
  padding: 2rem;
  animation: fadeInUp 0.6s ease-out;
}

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

.thank-you-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  color: #10b981;
}

/* Form validation styles */
.form-field-error .waitlist-form-input {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-field-error .waitlist-form-input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-success-message {
  color: #10b981;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Responsive adjustments for coming soon page */
@media (max-width: 640px) {
  .toast-notification {
    left: 1rem;
    right: 1rem;
    transform: translateY(-100%);
    top: 1rem;
  }
  
  .toast-notification.show {
    transform: translateY(0);
  }
  
  .waitlist-form-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Background gradient animation */
@media (prefers-reduced-motion: no-preference) {
  .bg-gradient-animated {
    background: linear-gradient(-45deg, #f0f9ff, #ffffff, #f8fafc, #e0f2fe);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
  }
  
  @keyframes gradientShift {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  .print-break {
    page-break-before: always;
  }
  
  .toast-notification {
    display: none !important;
  }
}
