/* Roblox Game Genie - Additional Styles */

/* Ensure proper font loading and base styles */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #1A1A2E;
  color: #E0E0E0;
}

/* Ensure the app takes full height */
#root {
  min-height: 100vh;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1A1A2E;
}

::-webkit-scrollbar-thumb {
  background: #00A2FF;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0088CC;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #00A2FF;
  outline-offset: 2px;
}

/* Loading animation for better UX */
.loading-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Ensure proper text rendering */
.text-shadow {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Custom gradient backgrounds */
.gradient-primary {
  background: linear-gradient(135deg, #00A2FF 0%, #7A00FF 100%);
}

.gradient-secondary {
  background: linear-gradient(135deg, #1A1A2E 0%, #1F2233 100%);
}
