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

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
  color: white;
}

body {
  background: url("../background/background_1.png") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
}

header {
  background-color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.logo h1 {
  font-size: 24px;
  
}

.logo p {
  font-size: 12px;
}

nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.form-title-2{
	margin-bottom: 10px;
	margin-top: 10px;
}

.search-box {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border-radius: 30px;
  text-align: center;
  max-width: 500px;
  width: 90%;
}

.search-box h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.radio-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

label {
  font-size: 16px;
}

select {
  padding: 10px;
  border-radius: 25px;
  border: none;
  width: 100%;
  margin: 15px 0;
  font-size: 16px;
}

.input-date {
  padding: 10px;
  border-radius: 25px;
  border: none;
  width: 100%;
  margin: 15px 0;
  font-size: 16px;
}

button {
  margin-top: 20px;
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  background-color: white;
  color: black;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #e6e6e6;
}

.inscription {
  background-color: rgba(0, 0, 0, 0.9);
  padding: 15px 30px;
  border-radius: 30px;
  margin-top: 30px;
}

.inscription a {
  color: #00aaff;
  text-decoration: underline;
}

.results {
  padding: 30px 20px;
  text-align: center;
}

.search-info {
  font-size: 18px;
  margin-bottom: 10px;
}

.search-date {
  font-size: 24px;
  color: #fff;
  margin-bottom: 30px;
}

.ride-card {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  margin: 15px auto;
  max-width: 900px;
  flex-wrap: wrap;
  gap: 20px;
}

.ride-info {
  text-align: left;
  flex: 1;
  min-width: 200px;
}

.ride-info h4 {
  font-size: 20px;
  margin-bottom: 5px;
}

.driver {
  margin-top: 10px;
  display: flex;
  align-items: center;
}

.driver .icon {
  margin-right: 5px;
}

.prices {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.price {
  background-color: white;
  color: black;
  border-radius: 15px;
  padding: 15px;
  min-width: 100px;
  text-align: center;
  font-size: 14px;
}

.price strong {
  font-size: 18px;
}

.price.unavailable {
  background-color: #ccc;
  color: #666;
}

.radio-group-custom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.radio-btn {
  position: relative;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 25px;
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.radio-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.radio-btn input[type="radio"] {
  display: none;
}

.radio-btn .icon {
  font-size: 20px;
}

.radio-btn input[type="radio"]:checked + .icon,
.radio-btn input[type="radio"]:checked + .icon + span {
  font-weight: bold;
}

.radio-btn input[type="radio"]:checked + .icon {
  color: #00aaff;
}

.radio-btn input[type="radio"]:checked ~ * {
  color: #00aaff;
}

.radio-btn:has(input[type="radio"]:checked) {
  border: 2px solid #00aaff;
  background-color: rgba(0, 170, 255, 0.1);
}

