/* INDEX */
.title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  margin-bottom: 40px;
  opacity: 0.85;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.card h2 {
  margin-bottom: 15px;
}

.open-link {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 14px;
  background: rgba(0, 194, 255, 0.8);
  border-radius: 8px;
  font-size: 0.9rem;
}

.open-link:hover {
  background: rgba(0, 153, 204, 0.9);
}

/* CLOCK */
#time {
  font-size: 2.3rem;
  font-weight: bold;
}

#date {
  margin-top: 5px;
  opacity: 0.9;
}

#message {
  margin-top: 10px;
  font-style: italic;
  opacity: 0.85;
}

/* PASSWORD*/
#length {
  padding: 10px;
  width: 90px;
  text-align: center;
  border-radius: 8px;
  border: none;
}

#generateBtn {
  margin-top: 10px;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #00c2ff;
  color: white;
  font-weight: bold;
}

#generateBtn:hover {
  background: #0099cc;
}

#result {
  margin-top: 15px;
  word-break: break-all;
}

/* LINKS  */
.form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form input {
  flex: 1;
  min-width: 130px;
  padding: 10px;
  border-radius: 8px;
  border: none;
}

#addBtn {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: #00c2ff;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

#addBtn:hover {
  background: #0099cc;
}

#linksContainer {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px;
  border-radius: 10px;
}

.delete-btn {
  background: crimson;
  border: none;
  color: white;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
}

/* WEATHER */
.search {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search input {
  flex: 1;
  min-width: 160px;
  padding: 10px;
  border-radius: 8px;
  border: none;
}

.search button {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: #00c2ff;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

.search button:hover {
  background: #0099cc;
}

#weatherInfo {
  margin-top: 15px;
  text-align: center;
}

#weatherInfo img {
  width: 60px;
}
#miniForecast {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.mini-hour {
  min-width: 90px;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  font-size: 0.85rem;
}

.mini-hour img {
  width: 40px;
}
.delete-btn:hover {
  background: darkred;
}

.card label {
  display: block;
  margin-top: 10px;
}

/* NOTES */
#miniNotes {
 width: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 200px;
  overflow-y: auto;
}

.mini-note {
  background: rgba(255, 255, 255, 0.15);
  padding: 10px;
  border-radius: 10px;
  font-size: 0.85rem;
}

.mini-note-date {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-bottom: 5px;
}

.mini-note-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}