/* style.css (عرض بسيط للعربيات فقط — تفاصيل تظهر عند الضغط) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #121212;
  color: #f0f0f0;
}

header {
  background: linear-gradient(90deg, #00e676, #00bfff);
  color: #fff;
  padding: 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
  width: 80px;
  margin-bottom: 10px;
}

nav a {
  color: #121212;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: #f0f0f0;
  border-radius: 30px;
  transition: background 0.3s, color 0.3s;
}

nav a:hover {
  background: #00bfff;
  color: #fff;
}

main {
  padding: 2rem;
  text-align: center;
  animation: fadeIn 1s ease-in;
}

.vehicle-card {
  background: #1f1f1f;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  margin: 1rem auto;
  padding: 1.2rem;
  max-width: 500px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.vehicle-card:hover {
  transform: translateY(-4px);
}

.vehicle-info {
  text-align: center;
}

.vehicle-info .supplier {
  display: block;
  font-size: 0.8rem;
  color: #aaa;
}

.vehicle-info .vehicle-name {
  margin: 0.3rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #00e676;
}

.vehicle-info .vehicle-code {
  display: block;
  font-size: 0.85rem;
  color: #999;
}

.vehicle-actions, .vehicle-details {
  display: none;
}

.vehicle-card.active .vehicle-actions,
.vehicle-card.active .vehicle-details {
  display: block;
  margin-top: 1rem;
}

.vehicle-actions a {
  display: inline-block;
  margin: 0.2rem 0.3rem;
  color: #fff;
  background: linear-gradient(90deg, #00e676, #00bfff);
  padding: 0.35rem 0.9rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.vehicle-actions a:hover {
  background: linear-gradient(90deg, #00bfff, #00e676);
}

.vehicle-details {
  text-align: left;
  color: #ccc;
  font-size: 0.9rem;
}

.vehicle-details p {
  margin: 0.3rem 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.login-page {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: #fff;
}

.login-container {
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem 2.5rem;
  border-radius: 15px;
  text-align: center;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  animation: fadeIn 1s ease;
}

.login-logo {
  width: 80px;
  margin-bottom: 1rem;
}

.login-container h2 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.login-container input {
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.6rem;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
}

.login-container button {
  width: 100%;
  margin-top: 1rem;
  padding: 0.6rem;
  border-radius: 8px;
  border: none;
  background: #00e676;
  color: #121212;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.login-container button:hover {
  background: #00c766;
}
