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

body {
  font-family: 'Times New Roman', Georgia, serif;
  background: #f8f9fa;
  min-height: 100vh;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 3px solid #000;
  padding-bottom: 20px;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #000;
  font-weight: bold;
  letter-spacing: 2px;
}

header p {
  font-size: 1.2rem;
  color: #666;
  font-style: italic;
}

.search-section {
  margin-bottom: 40px;
}

.search-box {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border: 2px solid #000;
  border-radius: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}

#searchInput {
  flex: 1;
  padding: 15px 25px;
  border: none;
  outline: none;
  font-size: 1.1rem;
  background: transparent;
  font-family: 'Times New Roman', Georgia, serif;
}

#searchButton {
  padding: 15px 30px;
  background: #000;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  font-family: 'Times New Roman', Georgia, serif;
  transition: all 0.3s ease;
}

#searchButton:hover {
  background: #333;
}

.loading {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: #666;
  font-style: italic;
}

.hidden {
  display: none;
}

.results-container {
  display: grid;
  gap: 20px;
}

.result-card {
  background: white;
  border: 1px solid #ddd;
  padding: 25px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.result-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.result-card.repealed {
  background: #fff5f5;
  border-left: 5px solid #dc3545;
  border: 1px solid #dc3545;
}

.result-header {
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.act-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chapter-title {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 5px;
  font-style: italic;
}

.section-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.result-text {
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
  text-align: justify;
}

.result-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.act-date {
  font-weight: bold;
  color: #000;
}

.repealed-badge {
  background: #dc3545;
  color: white;
  padding: 4px 12px;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-links {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.result-links a {
  padding: 8px 16px;
  background: #000;
  color: white;
  text-decoration: none;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-links a:hover {
  background: #333;
  text-decoration: underline;
}

.no-results {
  text-align: center;
  color: #666;
  font-size: 1.2rem;
  padding: 40px;
  font-style: italic;
}

@media (max-width: 768px) {
  .container {
    padding: 15px;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  .search-box {
    flex-direction: column;
  }
  
  #searchInput {
    border-bottom: 1px solid #ddd;
  }
  
  .result-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}
