/*body {
  font-family: "Epilogue", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  text-align: justify;
}*/

.citation-header {
  background-color: #1a365d;
  color: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  text-align: center;
}
h1 {
  margin: 0;
  font-size: 28px;
}
.date {
  color: #ccc;
  font-style: italic;
  margin-top: 10px;
}
.main-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  text-align: justify;
}
.left-column {
  flex: 1;
  min-width: 300px;
}
.right-column {
  flex: 2;
  min-width: 300px;
}
.key-points {
  background-color: #edf6dae7;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.key-points h2 {
  margin-top: 0;
  color: #1a365d;
  border-bottom: 2px solid #1a365d;
  padding-bottom: 10px;
}
.key-points ul {
  padding-left: 20px;
}
.key-points li {
  margin-bottom: 10px;
}
section {
  margin-bottom: 30px;
}
h2 {
  color: #1a365d;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h2 {
  color: #1a365d;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  margin-bottom: 15px;
}
h3 {
  color: #2c5282;
}
.highlight {
  background-color: #eedbfc;
  padding: 2px 5px;
  border-left: 3px solid #ffc107;
}
.citation {
  font-style: italic;
}
.conclusion {
  background-color: #e6f7ff;
  padding: 20px;
  border-radius: 5px;
  margin-top: 20px;
}
.conclusion h2 {
  color: #0c5460;
  border-bottom: 1px solid #bee5eb;
}
.precedents {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.precedent-card {
  background-color: #f8f8f8;
  padding: 10px;
  border-radius: 0 4px 4px 0;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  flex: 1;
  min-width: 200px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.precedent-card.followed {
  border-left: 4px solid #28a745;
}
.precedent-card.overruled {
  border-left: 4px solid #dc3545;
}
.precedent-card.distinguished {
  border-left: 4px solid #ffc107;
}
.precedent-card.status-referenced {
  border-left: 4px solid #1a237e;
}
.precedent-card.referenced {
  border-left: 4px solid #ae80f5;
}
.precedent-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 10px;
  color: #333;
}
.status-referenced {
  background-color: #e0e0ff;
  color: #1a237e;
}
.status-distinguished {
  background-color: #fff3e0;
  color: #e65100;
}
.status-interpreted {
  background-color: #e8f5e9;
  color: #1b5e20;
}
.status-followed {
  background-color: #dcedc8;
  color: #33691e;
}
.status-overruled {
  background-color: #ffebee;
  color: #b71c1c;
}
.precedent-card .precedent-title {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}
.precedent-card .precedent-court {
  font-style: italic;
  color: #555;
  margin-bottom: 8px;
  font-size: 0.9em;
}
.precedent-card .precedent-desc {
  color: #444;
  line-height: 1.5;
}
.download-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.download-btn:hover {
  background-color: #45a049;
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  color: white;
  text-decoration: none;
}
.download-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.download-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.download-icon {
  display: inline-block;
  margin-right: 8px;
  animation: bounce 1s infinite alternate;
}
@keyframes bounce {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-4px);
  }
}
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-header .download-btn {
    margin-top: 10px;
    margin-bottom: 15px;
  }
}
