
#graphe {
  padding: 20px 0;
}

#graphe .countdown-container {
  position: absolute;
  top: -290px;
  left: 10px; right: 10px;
  margin: auto;
  max-width: 1000px;
  padding: 20px;
  background-color: var(--dark-bg);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 2;
}

#graphe .countdown-title {
  text-align: center;
  color: var(--dark-bg600);
  margin-bottom: 20px;
  font-size: 2.5em;
}

#graphe .countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

#graphe .countdown-item {
  background-color: var(--black);
  border-radius: 10px;
  padding: 15px;
  cursor: default;
  transition: transform 0.2s ease;
}

#graphe .countdown-item:hover {
  transform: scale(1.05);
}

#graphe .countdown-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 10px;
}

#graphe .countdown-label {
  text-transform: uppercase;
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

#graphe #myChart {
  width: 100%;
  max-height: 600px;
}



#candidate {
  padding: 50px 0;
}

#candidate .candidates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

#candidate .candidate-card {
  position: relative;
  background-color: var(--dark-bg100);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

#candidate .candidate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

#candidate .crown-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background-color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 2;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

#candidate .boximg {
  position: relative;
  width: 100%;
  height: 300px;
  background: var(--dark-bg200);
  overflow: hidden;
}

#candidate .boximg .candidate-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

#candidate .candidate-info {
  padding: 1.5rem;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  height: calc(100% - 300px);
}

#candidate .candidate-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Bree Serif';
  color: var(--white);
}

#candidate .candidate-number {
  display: inline-block;
  background-color: var(--gold-dark);
  color: var(--dark-bg);
  width: fit-content;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 1rem;
}

#candidate .candidate-desc {
  color: var(--light-bg200);
  margin-bottom: 1.1rem;
  line-height: 1.6;
}

#candidate .vote-count {
  display: flex;
  align-items: center;
  margin: auto;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 50px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--gold-medium);
  background: var(--black);
  font-weight: 600;
}

#candidate button.btn-vote {
  cursor: pointer;
  border: none;
  padding: 10px 0;
  border-radius: 10px;
  font-size: 1.2em;
  font-weight: 700;
  width: 100%;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--dark-bg);
  transition: 0.2s;
}

#candidate button.btn-vote:hover {
  color: var(--black);
  background: var(--gold);
}
