body {
    margin: 0;
    padding: 0;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    font-family: 'Segoe UI', sans-serif;

    background: #111827;

    color: white;
}

.dashboard-container {
  width: 90%;
  max-width: 700px;
  background: #1f2937;
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

h2 {
  color: white;
  margin-bottom: 20px;
}

textarea {
  width: 100%;
  height: 120px;
  padding: 15px;
  border: 1px solid #374151;
  border-radius: 12px;
  resize: none;
  font-size: 16px;
  outline: none;
  margin-bottom: 15px;
  box-sizing: border-box;
  background: #111827;
  color: #f9fafb;
}

button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #374151;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
}

button:hover {
  transform: scale(1.05);
  background: #4b5563;
  box-shadow: 0 0 10px rgba(96,165,250,0.4);
}

.notes-container {
  margin-top: 25px;
}

.note-card {
  background: #111827;
  border: 1px solid #374151;
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 15px;
  color: #f9fafb;
  word-wrap: break-word;
}

.auth-container {
  width: 90%;
  max-width: 400px;
  background: #1f2937;
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.auth-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

.auth-container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #374151;
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
  background: #111827;
  color: #f9fafb;
}

.auth-container button {
  width: 100%;
}

.auth-container p {
  text-align: center;
}

a {
    color: #9ca3af;;
}

a:hover {
    color: white;
}

.auth-container a {
  color: #66b3ff;
  text-decoration: none;
  font-weight: bold;
}

.auth-container a:hover {
  text-decoration: underline;
}

.empty-message {
  text-align: center;
  opacity: 0.7;
  margin-top: 30px;
  font-size: 18px;
}

#titleInput {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;

    background: #111827;
    color: white;

    border: 1px solid #334155;
    border-radius: 12px;

    outline: none;
    box-sizing: border-box;

    font-size: 16px;
}

#titleInput::placeholder {
  color: #94a3b8;
}

.note-card small {
  display: block;
  margin-top: 10px;
  color: #b0b0b0;
  font-size: 13px;
}

.note-card button {
  padding: 8px 14px;
  font-size: 13px;
  margin-top: 8px;
  margin-right: 8px;
}

.note-card {
  transition: 0.3s;
}

.note-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

#searchInput {
    width: 100%;
    padding: 12px;
    margin: 20px 0;
    border-radius: 10px;
    border: 1px solid #334155;
    outline: none;
    box-sizing: border-box;

    background: #0f172a;
    color: white;
}

#charCount {
  font-size: 13px;
  color: #b0b0b0;
  margin-top: 5px;
}

.small-btn {
  padding: 8px 14px;
  font-size: 13px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {

    .dashboard-container {
        width: 95%;
        padding: 20px;
    }

    input,
    textarea {
        font-size: 16px;
    }

    .note-card {
        padding: 15px;
    }

    button {
        width: 100%;
        margin-top: 10px;
    }

}