/* Early 2000s Compatible Interaction Styles */
/* NO CSS3 FEATURES - Only properties available in early 2000s browsers */

/* Button interaction states moved to buttons.css for standardization */

/* Game card hover effects - instant changes */
.game-card {
  background: #FFFFFF;
  border: 1px solid #CCCCCC;
  padding: 10px;
  margin: 5px;
}

.game-card:hover {
  background: #F8F8F8;
  border: 1px solid #0066CC;
}

/* Form input focus effects */
input,
textarea,
select {
  background: #FFFFFF;
  border: 1px solid #CCCCCC;
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  padding: 4px;
}

input:focus,
textarea:focus,
select:focus {
  background: #F8F8F8;
  border: 1px solid #0066CC;
  outline: none;
}

/* Loading indicators without CSS animations */
.loading-indicator {
  background: #FFFFFF;
  border: 1px solid #CCCCCC;
  padding: 20px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333333;
}

/* Progress bars using background images or JavaScript */
.progress-bar {
  background: #E0E0E0;
  border: 1px inset #CCCCCC;
  height: 16px;
  width: 100%;
  position: relative;
}

.progress-fill {
  background: #0066CC;
  height: 100%;
  width: 0%;
  /* Width will be set by JavaScript */
}

/* Simple tooltip styling */
.custom-tooltip {
  background: #FFFFCC;
  border: 1px solid #CCCCCC;
  padding: 4px 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #333333;
  position: absolute;
  z-index: 1000;
  white-space: nowrap;
}

/* Menu dropdown styling */
.dropdown-menu {
  background: #FFFFFF;
  border: 1px solid #CCCCCC;
  position: absolute;
  z-index: 100;
  display: none;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 6px 12px;
  color: #333333;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.dropdown-item:hover {
  background: #E0E0E0;
  color: #333333;
}

/* Mobile menu styling */
.mobile-nav-menu {
  background: #FFFFFF;
  border: 1px solid #CCCCCC;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

.mobile-nav-menu.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 8px 16px;
  color: #333333;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  border-bottom: 1px solid #E0E0E0;
}

.mobile-nav-link:hover {
  background: #F0F0F0;
  color: #0066CC;
}

/* Image rollover effects */
img[data-rollover] {
  cursor: pointer;
}

/* Alert and dialog styling */
.alert-box {
  background: #FFFFFF;
  border: 2px outset #CCCCCC;
  padding: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: -150px;
  width: 300px;
  z-index: 1000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.alert-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #333333;
}

.alert-message {
  margin-bottom: 15px;
  color: #333333;
}

.alert-buttons {
  text-align: right;
}

/* Table styling for early 2000s */
table {
  border-collapse: collapse;
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

th,
td {
  border: 1px solid #CCCCCC;
  padding: 6px 8px;
  text-align: left;
}

th {
  background: #E0E0E0;
  font-weight: bold;
}

tr:nth-child(even) {
  background: #F8F8F8;
}

tr:hover {
  background: #F0F0F0;
}

/* Status indicators */
.status-success {
  color: #008000;
  font-weight: bold;
}

.status-warning {
  color: #FF8C00;
  font-weight: bold;
}

.status-error {
  color: #CC0000;
  font-weight: bold;
}

.status-info {
  color: #0066CC;
  font-weight: bold;
}

/* Simple border effects */
.border-inset {
  border: 2px inset #CCCCCC;
}

.border-outset {
  border: 2px outset #CCCCCC;
}

.border-groove {
  border: 2px groove #CCCCCC;
}

.border-ridge {
  border: 2px ridge #CCCCCC;
}

/* Text selection styling */
::selection {
  background: #0066CC;
  color: white;
}

::-moz-selection {
  background: #0066CC;
  color: white;
}

/* Scrollbar styling for IE and early browsers */
body {
  scrollbar-face-color: #E0E0E0;
  scrollbar-highlight-color: #FFFFFF;
  scrollbar-shadow-color: #CCCCCC;
  scrollbar-3dlight-color: #F0F0F0;
  scrollbar-arrow-color: #333333;
  scrollbar-track-color: #F8F8F8;
  scrollbar-darkshadow-color: #999999;
}

/* Print styles */
@media print {
  * {
    background: white !important;
    color: black !important;
  }
  
  .btn,
  .nav-link,
  .user-btn {
    border: 1px solid black !important;
    background: white !important;
    color: black !important;
  }
  
  .mobile-nav-menu,
  .dropdown-menu,
  .loading-indicator {
    display: none !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  * {
    background: white !important;
    color: black !important;
    border-color: black !important;
  }
  
  .btn,
  .nav-link,
  .user-btn {
    background: white !important;
    color: black !important;
    border: 2px solid black !important;
  }
}

/* Reduced motion - remove any remaining animations */
@media (prefers-reduced-motion: reduce) {
  * {
    /* No animations in early 2000s anyway */
  }
}