/**
 * AniWorld - Responsive Styles
 *
 * Media queries and breakpoint-specific styles.
 * Note: Component-specific responsive styles are in their respective files.
 * This file contains global responsive utilities and overrides.
 */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container-sm {
    max-width: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container-md {
    max-width: 720px;
  }
  
  .hide-md-up {
    display: none !important;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container-lg {
    max-width: 960px;
  }
  
  .hide-lg-up {
    display: none !important;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
  
  .hide-xl-up {
    display: none !important;
  }
}

/* Hide on small screens */
@media (max-width: 575.98px) {
  .hide-sm-down {
    display: none !important;
  }
}

/* Hide on medium screens and below */
@media (max-width: 767.98px) {
  .hide-md-down {
    display: none !important;
  }
}

/* Hide on large screens and below */
@media (max-width: 991.98px) {
  .hide-lg-down {
    display: none !important;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  .print-only {
    display: block !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .header,
  .toast-container,
  .status-panel {
    display: none !important;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --color-border: #000000;
    --color-text-primary: #000000;
    --color-text-secondary: #333333;
  }
  
  [data-theme="dark"] {
    --color-border: #ffffff;
    --color-text-primary: #ffffff;
    --color-text-secondary: #cccccc;
  }
}
