/**
 * Precious Metals Tracker - Styles
 * By BTE - WWW.BEYONDTOMORROWENTERPRISES.COM
 */

/* FORCE FULL WIDTH - Override any theme restrictions */
#pmt-app,
#pmt-app * {
  box-sizing: border-box;
}

#pmt-app {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.5;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 12px !important;
  float: none !important;
  position: relative !important;
}

/* Override WordPress theme container restrictions */
.entry-content,
.post-content,
.page-content,
.site-content,
.content-area,
article,
main,
.site-main {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}

/* Hide sidebars on PMT pages */
.widget-area,
.sidebar,
aside,
#secondary {
  display: none !important;
}

#pmt-app input,
#pmt-app select,
#pmt-app button {
  font-family: inherit;
  font-size: 16px;
}

#pmt-app input:focus,
#pmt-app select:focus,
#pmt-app button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.5);
}

/* Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Custom scrollbar */
#pmt-app ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

#pmt-app ::-webkit-scrollbar-track {
  background: #374151;
  border-radius: 4px;
}

#pmt-app ::-webkit-scrollbar-thumb {
  background: #6b7280;
  border-radius: 4px;
}

#pmt-app ::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Card shadows */
#pmt-app .bg-gray-800 {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Hide WordPress page title */
.page-title,
.entry-title,
article header h1,
.post-title,
h1.entry-title,
.page h1 {
  display: none !important;
}

/* Print styles */
@media print {
  #pmt-app {
    background: white !important;
    color: black !important;
  }
  
  #pmt-app button {
    display: none !important;
  }
}
