/*
Theme Name: Econo-X Mobile
Theme URI: https://econo-x.com
Description: A mobile-first WordPress theme for Econo-X Farmer & Admin Portal with AI-powered features, marketplace integration, and comprehensive farmer management.
Version: 1.0.0
Author: Econo-X Development Team
Author URI: https://econo-x.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: econo-x-mobile
Tags: mobile, agriculture, marketplace, ai-powered, admin-portal
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* 
  Main styles are compiled from Tailwind CSS
  Additional custom styles below
*/

[x-cloak] {
  display: none !important;
}

.pb-safe {
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
}

html, body, #app-root {
  height: 100%;
}

body {
  min-height: 100%;
}

section[id] {
  min-height: 500px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Loader Animation */
.loader {
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #f59e0b;
  width: 40px;
  height: 40px;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

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

/* Small loader for AI */
.small-loader {
  border: 2px solid #f3f3f3;
  border-radius: 50%;
  border-top: 2px solid #f59e0b;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

/* Markdown Styles for AI Content */
.prose h3 {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.prose ul {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 0.5rem;
}

.prose strong {
  color: #f59e0b;
}

/* Transition Classes */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
