:root {
  --line1-color: #c0392b;
  --line2-color: #3498db;
  --line3-color: #27ae60;
  --line4-color: #f39c12;
  --line5-color: #9b59b6;
  --line6-color: #16a085;
  --line7-color: #d35400;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --accent-color: #3498db;
  --success-color: #27ae60;
  --warning-color: #f39c12;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.content-box-metro {
	padding: 40px;
    background: platinum;
    border-radius: 10px;
	box-shadow: var(--shadow);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	font-size: 20px;
}

.containerMetro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.app-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.control-panel {
  flex: 1;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  max-width: 100%;
}

.map-panel {
  flex: 2;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
}

select {
  font-family: vazir;
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  background-color: var(--light-color);
  transition: border-color 0.3s;
}

select:focus {
  border-color: var(--accent-color);
  outline: none;
}

button {
  font-family: vazir;
  width: 100%;
  padding: 14px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

button:active {
  transform: translateY(0);
}

#result {
  margin-top: 25px;
  padding: 20px;
  background: var(--light-color);
  border-radius: 10px;
  min-height: 100px;
  font-size: 18px;
  line-height: 1.8;
}

.route-step {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.route-step i {
  margin-left: 10px;
  color: var(--secondary-color);
}

.metro-line {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 15px;
  color: white;
  font-size: 14px;
  margin: 0 5px;
}

.metro-map {
  flex-grow: 1;
  border-radius: 10px;
}

.station-info {
  margin-top: 20px;
  padding: 15px;
  background: var(--light-color);
  border-radius: 10px;
  font-size: 16px;
}

.details {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  color: #7f8c8d;
}

.line-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.line-filter {
  padding: 5px 10px;
  border-radius: 15px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.line-filter.active {
  opacity: 1;
}

.line-change {
  background-color: #f39c12;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 5px 0;
  display: inline-block;
}

@media (max-width: 768px) {
  .app-container {
	flex-direction: column;
  }
  
  header h1 {
	font-size: 1.4rem;
  }

	.route-step {
		font-size: 14px;		
	}
  
  .details {
	flex-direction: column;
	gap: 10px;
  }
  
  .select {
	  font-size: 14px;
  }
  
  .content-box-metro {
		padding: 5px;
		font-size: 16px;
	}
}
