* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: rgb(205, 241, 255);
  padding: 30px;
  color: #333;
}
.app-container {
  max-width: 700px;
  margin: auto;
  background-color:rgb(170, 226, 248);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color : rgb(1, 1, 103);
    text-align: center;
    margin-bottom: 20px;
}

.note-input {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.note-input input,
.note-input textarea {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.add-btn {
  width: 150px;
  padding: 10px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  align-self: flex-end;
}
.add-btn:hover {
  background-color: #005fa3;
}

.notes-display h2 {
    margin-top: 20px;
    color : rgb(39, 1, 106);
}

.notes-container,
.pinned-notes-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.note-card {
  background-color: white;
  padding: 15px;
  border-radius: 12px;
  width: calc(50% - 15px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  word-wrap: break-word;
}

.note-title {
  font-weight: bold;
  margin-bottom: 8px;
}

.note-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
}

.note-actions button {
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.view-archived-btn {
  display: inline-block;
  margin-top: 10px;
  background-color: #0077cc;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease-in-out;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.1);
}

.view-archived-btn:hover {
  background-color: #0056b3;
}

.back-btn{
  display: inline-block;
  margin-top: 10px;
  background-color: #0077cc;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease-in-out;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.1);
}

.back-btn:hover {
  background-color: #0056b3;
}