/*
 * Terminal-style CSS for TRIZ Opportunities Platform
 * Fallback styles if Tailwind is not working
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #FFFFFF;
  color: #000000;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-weight: 700;
  line-height: 1.2;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
/* Header styles removed - using Tailwind classes instead */

/* Main content */
main {
  flex: 1;
  padding: 2rem 0;
}

/* Footer */
footer {
  border-top: 2px solid #000000;
  padding: 1.5rem 0;
  margin-top: 3rem;
}

footer p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.875rem;
  text-align: center;
  color: #666666;
}

/* Card */
.card {
  border: 2px solid #000000;
  padding: 1.5rem;
  background: #FFFFFF;
  margin-bottom: 1.5rem;
  transition: border-color 150ms;
}

.card:hover {
  border-color: #00DD00;
}

/* Buttons */
.btn-primary {
  border: 2px solid #000000;
  padding: 0.75rem 1.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  text-transform: uppercase;
  background: #FFFFFF;
  color: #000000;
  cursor: pointer;
  transition: all 150ms;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  color: #00DD00;
  border-color: #00DD00;
}

.btn-secondary {
  border: 1px solid #000000;
  padding: 0.5rem 1rem;
  font-family: 'IBM Plex Mono', monospace;
  background: #FFFFFF;
  color: #000000;
  cursor: pointer;
  transition: all 150ms;
  display: inline-block;
  text-decoration: none;
  font-size: 0.875rem;
}

.btn-secondary:hover {
  color: #00DD00;
  border-color: #00DD00;
}

/* Links */
.link {
  color: #000000;
  text-decoration: none;
  transition: color 150ms;
}

.link:hover {
  color: #00DD00;
}

/* Separator */
.separator {
  border-top: 1px solid #E5E5E5;
  margin: 1rem 0;
}

/* Form elements */
select, input[type="text"], input[type="email"], textarea {
  border: 2px solid #000000;
  padding: 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  width: 100%;
  background: #FFFFFF;
  color: #000000;
}

select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: #00DD00;
}

/* Filter buttons */
.filter-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border: 2px solid #CCCCCC;
  background: #FFFFFF;
  color: #000000;
  text-decoration: none;
  display: inline-block;
  transition: all 150ms;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: #00DD00;
  color: #000000;
}

.filter-btn.active {
  border-color: #00DD00;
  background: #00DD00;
  color: #FFFFFF;
}

/* Importance badges */
.importance-badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border: 2px solid;
  background: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.importance-badge.high {
  border-color: #00DD00;
  color: #000000;
}

.importance-badge.medium {
  border-color: #666666;
  color: #000000;
}

.importance-badge.low {
  border-color: #CCCCCC;
  color: #666666;
}

/* Utility classes */
.text-center { text-align: center; }
.text-gray-600 { color: #666666; }
.text-green-500 { color: #00DD00; }
.text-white { color: #FFFFFF; }
.font-mono { font-family: 'IBM Plex Mono', monospace; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.p-4 { padding: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.bg-green-500 { background-color: #00DD00; }
.border-green-500 { border-color: #00DD00; }
.border-gray-300 { border-color: #CCCCCC; }

/* Grid for filters */
.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* Flex utilities removed - using Tailwind classes instead */

/* Responsive */
@media (max-width: 768px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }
}
