/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body layout */
body {
  height: 100vh;
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Phone-style container */
.phone-container,
.project-list-container {
  width: 80%;
  height: 95vh;
  background-color: white;
  border-radius: 20px;
  padding: 60px 20px 20px 60px; /* left padding increased */
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}


/* Top logo image */
.top-image {
  width: 150px;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
  align-self: flex-start;
}

/* Headings */
h1,
h2 {
  font-size: 1.4em;
  margin-bottom: 10px;
  align-self: flex-start;
}

/* Labels */
label {
  display: block;
  font-size: 0.95em;
  font-weight: bold;
  margin-top: 10px;
}

/* Inputs and select */
input,
select {
  display: block;
  width: 100%;
  padding: 8px;
  font-size: 1em;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-top: 5px;
  margin-bottom: 10px;
}

/* Fix wide project type select box */
#type {
  max-width: 300px;
}

/* Save button */
button {
  padding: 10px 20px;
  font-size: 1em;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

button:hover {
  background-color: #0056b3;
}

/* Project List styling */
#projectList {
  list-style: none;
  width: 100%;
  padding: 0;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#projectList li {
  background-color: #f2f2f2;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: 0.2s;
  width: 100%;
  max-width: 400px;
  word-wrap: break-word;
  align-self: flex-start;
}

#projectList li:hover {
  background-color: #e0e0e0;
}

/* Link below list */
.link {
  font-size: 0.95em;
  color: #007bff;
  text-decoration: none;
  margin-top: 10px;
  align-self: flex-start;
}

.link:hover {
  text-decoration: underline;
}
