/* Glass Theme Custom Styles specifically for Stitch Design */

/* Tailwind Utilities and Customizations handled by CDN config/classes */

/* Ensure text rendering is smooth */
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradients */
.hero-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

.btn-gradient {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3), 0 4px 6px -4px rgba(139, 92, 246, 0.3);
    color: white;
}

.btn-gradient:hover {
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.4), 0 8px 10px -6px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

/* Product Card Interactions */
.product-image-container {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .product-image-container {
    box-shadow: 0 0 25px 5px rgba(59, 130, 246, 0.4);
    transform: scale(1.02);
}

.dark .group:hover .product-image-container {
    box-shadow: 0 0 30px 8px rgba(59, 130, 246, 0.25);
}

.product-card-link {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

/* Color Overrides if Tailwind isn't enough */
.bg-primary {
    background-color: #3B82F6 !important;
}

.text-primary {
    color: #3B82F6 !important;
}

/* Modal Fixes for Bootstrap/Tailwind conflict */
.modal-backdrop {
    z-index: 40;
}

.modal {
    z-index: 50;
}

/* Scrollbar hiding for horizontal scroll areas */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Legacy Support (Minimally required styles from Hyper) */
.page-title-box .page-title {
    font-size: 18px;
    margin: 0;
    line-height: 75px;
    color: #6c757d;
}

@media (min-width: 768px) {
    .page-title-box .page-title {
        font-size: 18px;
    }
}

.modal-content {
    background-color: transparent;
    border: none;
}

.modal-dialog .modal-content {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.modal-header,
.modal-body,
.modal-footer {
    background-color: #fff;
    border-radius: .25rem;
}

.dark .modal-header,
.dark .modal-body,
.dark .modal-footer {
    background-color: #1e293b;
    color: #fff;
}
/* Fix Material Icons Round */
.material-icons-round {
  font-family: 'Material Icons Round';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  font-feature-settings: 'liga';
}

/* Navbar Fixes */
.glass nav {
  z-index: 999;
}

/* Fix text wrapping for small icons */
.material-icons-round.text-sm {
    font-size: 14px;
}
.material-icons-round.text-lg {
    font-size: 18px;
}
.material-icons-round.text-3xl {
    font-size: 30px;
}


/* Enhanced Background for Glass Effect */
body {
    background: radial-gradient(circle at top left, #eef2ff, #f8fafc);
    min-height: 100vh;
}
.dark body {
    background: radial-gradient(circle at top left, #1e293b, #0f172a);
}

/* Modal Glass Styling */
.modal-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.modal-header, .modal-footer {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.modal-body {
    background: transparent;
}
.dark .modal-content {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.dark .modal-header, .dark .modal-footer {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

