@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Gelasio:ital,wght@0,400..700;1,400..700&display=swap");

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

body {
  display: flex;
  flex-direction: row;
  font-family: 'Playfair Display', serif;
  scrollbar-width: none;
  overflow: hidden;
  margin: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  min-height: 100vh;
  background: #083a5c;
  color: #1a1a1a;
}

.main-content {
  scrollbar-width: none;
  align-items: center;
}

.bill a.bill-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
  width: 100%;
}

.bill:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.bill {
  border: 1px solid #a97d06;
  padding: 30px #f9a3d6;
  height: 250px;
  margin: 20px;
}

.featured-bill {
  border: 2px solid #a3dcff;
  background-color: #c9edfe;
  padding: 30px;
  height: 300px;
  margin: 20px;
  font-size: 1.1em;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  position: relative; 
  z-index: 10;
}

.featured-bill:hover,
.bill:hover {
  background-color: #b3b3b3;
  transition: 0.3s ease;
}

nav {
  width: 250px;
  background-color: #ffffff;
  color: white;
  box-sizing: border-box;
  margin-left: 20px;
  height: 100vh;
  position: relative;
  z-index: 1;
}

.main-content {
  flex-grow: 1;
  background-color: #ffffff;
  box-sizing: border-box;
  overflow-y: auto;
  height: 100vh;
}

#nameApp {
  text-align: left;
  font-size: 50 px;
  color: #2680ca;
}

.sign-ins {
  justify-content: center;
  align-items: center;
  padding-top: 200px;
}

h1 {
  color: #2680ca;
  font-family: 'Gelasio', serif;
}

a {
  color: #ff8c42;
  font-family: 'Playfair Display', serif;
  text-decoration: none;
}

a:hover {
  transform: translateY(-2px);
  font-size: 15px;
  color: #f2c15e;
}

form {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h2 {
  color: #72b7dd;
  font-family: 'Gelasio', serif;
}

button {
  background-color: #a4d2e6;
  color: white; 
  padding: 12px 24px; 
  font-size: 16px;
  font-family: 'Playfair Display', serif; 
  border: none;
  border-radius: 8px; 
  cursor: pointer; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  transition: all 0.3s ease;
}

button:hover {
  background-color: #ef6c6c; 
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px); 
}

input {
  display: block;
  margin-bottom: 10px;
  width: 100%;
  padding: 15px;
  font-family: 'Playfair Display', serif;
}

.sidebar {
  width: 15%;
  background: #ffffff;
  border-right: 1px solid #e8e5e1;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  overflow-y: auto;
}

#nameApp {
  font-family: 'Gelasio', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #5c99d1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.sidebar a {
  color: #000000;
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-size: 0.925rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
  display: block;
  border-radius: 20px;
  font-family: 'Playfair Display', serif;
}

.sidebar a:hover {
  background: #ff8c42;
  color: #ffffff;
}

.main-content {
  margin-left: 260px;
  flex: 1;
  padding: 0;
}

.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #fafaf9 100%);
  border-bottom: 1px solid #e8e5e1;
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-mascot {
  width: 80px;
  height: 100px;
  position: relative;
  flex-shrink: 0;
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(2deg);
  }
  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

.hero-mascot .bill-body {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 60px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  border: 3px solid #2d2d2d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-mascot .bill-lines {
  position: absolute;
  top: 10px;
  left: 8px;
  right: 8px;
}

.hero-mascot .bill-line {
  height: 2px;
  background: #b8b8b8;
  margin-bottom: 4px;
}

.hero-mascot .bill-line:nth-child(2) {
  width: 70%;
}
.hero-mascot .bill-line:nth-child(3) {
  width: 85%;
}
.hero-mascot .bill-line:nth-child(4) {
  width: 60%;
}

.hero-mascot .bill-helmet {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 24px;
  background: linear-gradient(135deg, #6a6a6a 0%, #4a4a4a 100%);
  border: 3px solid #2d2d2d;
  border-radius: 50% 50% 0 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.hero-mascot .helmet-rim {
  position: absolute;
  bottom: -5px;
  left: -4px;
  width: calc(100% + 8px);
  height: 8px;
  background: #2d2d2d;
  border-radius: 2px;
}

.hero-mascot .helmet-star {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: #c4a07a;
}

.hero-mascot .bill-face {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.hero-mascot .bill-eye {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #2d2d2d;
  border-radius: 50%;
  top: 0;
}

.hero-mascot .eye-left {
  left: 14px;
}
.hero-mascot .eye-right {
  right: 14px;
}

.hero-mascot .bill-smile {
  position: absolute;
  width: 14px;
  height: 7px;
  border: 2px solid #2d2d2d;
  border-top: none;
  border-radius: 0 0 14px 14px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-content h1 {
  font-family: 'Gelasio', serif;
  font-size: 3rem;
  font-weight: 800;
  color: #5c99d1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-content p {
  font-size: 1rem;
  color: #000000;
  line-height: 1.6;
  font-weight: 500;
  font-family: 'Playfair Display', serif;
}

.feed-header {
  padding: 1.25rem 2.5rem;
  background: #ffffff;
  border-bottom: 1px solid #e8e5e1;
  position: sticky;
  top: 0;
  z-index: 10;
}

.feed-header h1 {
  font-family: 'Gelasio', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #5c99d1;
  letter-spacing: -0.02em;
}

#bills {
  background: #ffffff;
}

.bill-entry {
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid #e8e5e1;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.bill-entry:hover {
  background-color: #fafaf9;
}

.bill-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.bill-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.bill-number {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #d15c5c;
}

.bill-type {
  font-size: 0.8rem;
  color: #000000;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  background: #f3f1ee;
  font-family: 'Playfair Display', serif;
}

.bill-date {
  font-size: 0.8rem;
  color: #6a6a6a;
  margin-left: auto;
  font-family: 'Playfair Display', serif;
}

.bill-entry h3 {
  font-family: 'Gelasio', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.bill-engagement {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f3f1ee;
}

.engagement-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6a6a6a;
  font-weight: 600;
  transition: 0.3s ease;
  border-radius: 7px;
  padding: 0.25rem 0.75rem;
  font-family: 'Playfair Display', serif;
}

.approve-count:hover {
  color: #ffffff;
  background: #ff8c42;
}
.disapprove-count:hover {
  color: #ffffff;
  background: #5c99d1;
}

.engagement-icon {
  font-size: 1.1rem;
}

.approve-count {
  color: #ff8c42;
}

.disapprove-count {
  color: #5c99d1;
}

.approval-bar-container {
  display: flex;
  gap: 0.25rem;
  height: 4px;
  margin: 0.75rem 0;
  background: #f3f1ee;
}

.approval-segment {
  height: 100%;
  transition: width 0.3s ease;
}

.approve-segment {
  background: #ff8c42;
}

.disapprove-segment {
  background: #5c99d1;
}

.loading {
  padding: 3rem 2.5rem;
  text-align: center;
  color: #6a6a6a;
  font-size: 0.925rem;
  background: #ffffff;
  font-family: 'Playfair Display', serif;
}

.empty-state {
  padding: 4rem 2.5rem;
  text-align: center;
  color: #6a6a6a;
  background: #ffffff;
}

.empty-state h3 {
  font-family: 'Gelasio', serif;
  font-size: 1.25rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid #e8e5e1;
  }

  .main-content {
    margin-left: 0;
    max-width: 100%;
  }

  .hero-section {
    padding: 2rem 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .feed-header {
    padding: 1rem 1.5rem;
  }

  .bill-entry {
    padding: 1.25rem 1.5rem;
  }

  .bill-engagement {
    gap: 1.25rem;
  }
}