/* Page Layout */
.projects-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #333;
}

/* Notice Message */
.projects-notice {
  background-color: #e9f9ed;
  color: #1d7a3a;
  border: 1px solid #bfe6c8;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Titles */
.projects-title {
  font-size: 32px;
  font-weight: 700;
  color: #243b55;
  margin-bottom: 20px;
  text-align: center;
}

.projects-subtitle {
  font-size: 20px;
  color: #495057;
  margin-top: 20px;
}

/* Divider */
.projects-divider {
  border: none;
  border-top: 1px solid #dee2e6;
  margin: 25px 0;
}

/* Search Form */
.projects-search-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.projects-search-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.projects-search-label {
  font-weight: 500;
  color: #495057;
}

.projects-search-input {
  padding: 8px 12px;
  font-size: 15px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  width: 250px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.projects-search-input:focus {
  border-color: #2a74ff;
  box-shadow: 0 0 0 3px rgba(42, 116, 255, 0.15);
  outline: none;
}

.projects-search-button {
  background-color: #2a74ff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.projects-search-button:hover {
  background-color: #1e5fe0;
}

/* Project List */
.projects-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Project Card */
.project-card {
  border: 1px solid #e1e4e8;
  border-radius: 10px;
  padding: 18px 22px;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-title {
  margin-top: 0;
  margin-bottom: 10px;
}

.project-link {
  color: #2a74ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

.project-link:hover {
  text-decoration: underline;
}

.project-description {
  color: #555;
  font-size: 15px;
  margin-bottom: 10px;
}

/* Buttons */
.project-button {
  display: inline-block;
  background-color: #2a74ff;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.project-button:hover {
  background-color: #1e5fe0;
}

/* Create New Project Button */
.project-create-button {
  display: inline-block;
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
}

.project-create-button:hover {
  background-color: #218838;
}

/* Empty State */
.projects-empty {
  color: #6c757d;
  text-align: center;
  font-style: italic;
  margin-top: 30px;
}

/* Login Hint */
.projects-login-hint {
  margin-top: 20px;
  text-align: center;
  color: #495057;
}

.projects-login-link {
  color: #2a74ff;
  text-decoration: none;
  font-weight: 500;
}

.projects-login-link:hover {
  text-decoration: underline;
}
