/* new-project.css */

h2, h3 {
  text-align: center;
  margin-top: 1rem;
  color: #007BFF;
}

.new-project-form,
.existing-projects {
  background-color: rgba(255, 255, 255, 0.04);
  padding: 1rem;
  border-radius: 12px;
  margin: 1rem auto;
  max-width: 600px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.new-project-form label,
.existing-projects label {
  display: block;
  margin: 0.6rem 0 0.2rem;
  font-weight: 600;
  color: #eee;
}

.new-project-form input,
.new-project-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.6rem;
  border-radius: 6px;
  border: 1px solid #444;
  background-color: #111;
  color: #fff;
}

.new-project-form button,
.existing-projects button {
  background-color: #0a84ff;
  color: #fff;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.new-project-form button:hover,
.existing-projects button:hover {
  background-color: #006ae6;
}

#projectTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  color: #ddd;
  font-size: 0.9rem;
}

#projectTable th,
#projectTable td {
  padding: 0.6rem;
  border: 1px solid #333;
  text-align: center;
}

#projectTable th {
  background-color: #222;
  color: #0af;
}

#additionalTechs input {
  display: block;
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .new-project-form,
  .existing-projects {
    padding: 0.8rem;
    margin: 0.5rem;
  }

  #projectTable {
    font-size: 0.8rem;
  }

  .new-project-form button,
  .existing-projects button {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}
