.header {
  width: 100%;
}

h2 {
  font-size: 1.3rem;
  color: var(--text_black, #111);
}

.count-badge {
  background: var(--brand, #3c8bd6);
  color: var(--text_white, #fff);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.85rem;
}

.sessions-container {
  width: min(1500px, 100%);
  min-height: 70vh;
  /* background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border_muted); */
  border-radius: 22px;
  padding: 0;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
  color: var(--app_text, var(--text_black));
}

.sessions_content {
  width: 100%;
}

.session-card {
  background: var(--surface, #fff);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 14px;
  box-shadow: var(--shadow, rgba(0, 0, 0, 0.05));
  width: 100%;
  /* max-width: 550px; */
  position: relative;
}

.session-card p {
  display: flex;
  padding: 5px 16px;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 200;
  color: var(--text_muted);
}

.session-card p:nth-child(odd) {
  /* background: var(--surface_alt, #eef3ff); */
  padding: 5px 16px;
}

.card-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border_divider, #ddd);
  padding: 20px 0;
  background-color: var(--background_cream, #f5f5dc);
  color: var(--text_color, #fff);
  font-size: 1.5rem;
  font-weight: 700;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card-header h3 {
  width: fit-content;
}

.card-footer {
  display: flex;
  justify-content: center;
  padding: 10px;
  border-top: 1px solid var(--border_divider, #ddd);
  position: relative;
}

.reg-num {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text_black, #111);
}

.duration {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text_red, #db464e);
  background: var(--background_light_red, #ec4d4d6e);
  padding: 4px 8px;
  border-radius: 6px;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 0.85rem;

  margin-bottom: 14px;
}

.details span {
  font-weight: 200;
  color: var(--text_muted, #555);
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--text_white, #fff);
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.checkout-btn:active {
  transform: translateY(0);
}

.empty-state {
  text-align: center;
  color: var(--text_muted, #4b4b4b);
  padding: 40px 0;
}

.card-footer button {
  width: 70%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  font-weight: 400;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.card-footer button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.parking_cost {
  background: var(--background_white, #696969);
  color: var(--text_sky, #34d5e0);
  padding: 4px 20px;
  border-radius: 15px;
  border: var(--border);
  font-size: 1rem;
  font-weight: 800;
}

.card_header_details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.card_header_details p {
  background-color: var(--background_white);
  border-radius: 15px;
  color: var(--text_muted, #555);

  font-weight: 200;
  font-size: 0.6rem;
}

.session_duration {
  color: var(--text_color);
  font-size: 0.8rem;
  font-weight: 800;
  border: var(--border);
  /* background-color: #10b981; */
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 4rem;
  width: 75%;

}

.no_active_session {
  background-color: var(--background_white);
  padding: 50px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.no_active_session p {
  color: var(--text_red);

  font-weight: 800;
}

.session_id_element {
  color: var(--text_color, #64748b);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 1px 20px;
  border-radius: 8px;
  border: 0.5px solid var(--border_divider, #ddd);
}

.session_paid_data {
  color: var(--text_color, #64748b);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 1px 20px;
  border-radius: 8px;
}

.session_paid_data.paid {
  color: var(--text_white, #fff);
  background-color: var(--S, #10b981);
}

.session_paid_data.not-paid {
  color: var(--text_white, #fff);
  background-color: var(--V, #ef4444);
}

.drive_intended_time {
  font-weight: 700;
}

@media (max-width: 768px) {
  .parking_cost {
    padding: 4px 10px;

    font-size: 0.78rem;
    font-weight: 700;
  }

  .sessions-container {
    border-radius: 12px;
    padding: 5px 5px 12px;
    margin-top: 100px;
  }

  .session_duration {

    font-size: 2rem;
    width: 100%;

  }

}