@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');

:root{
  --bg: #000;
  --card-bg: #111;
  --text: #fff;
  --muted: #bbb;
  --input-bg: #1a1a1a;
  --border: #222;
}

body{
  margin:0;
  padding:0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 40px;
}

.note-app{
  width: 400px;
  max-width: 90%;
  background: var(--card-bg);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.note-app h1{
  text-align: center;
  margin:0 0 16px;
  font-size: 28px;
}

.input-area{
  display: flex;
  gap: 12px;
}

.input-area input{
  flex:1;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 14px;
  box-shadow: 5px 5px 12px rgba(0,0,0,0.4), -5px -5px 12px rgba(255,255,255,0.05);
  transition: all 0.25s ease;
}

.input-area input:focus{
  outline:none;
  border-color: #3498db;
  box-shadow: 0 0 8px #3498db;
}

.btn{
  padding: 12px 16px;
  border:none;
  border-radius:12px;
  background: var(--text);
  color: var(--bg);
  font-weight:700;
  cursor:pointer;
  box-shadow:5px 5px 12px rgba(0,0,0,0.4), -5px -5px 12px rgba(255,255,255,0.05);
  transition: all 0.25s ease;
}

.btn:hover{
  background: var(--bg);
  color: var(--text);
  box-shadow: inset 3px 3px 8px rgba(0,0,0,0.5), inset -3px -3px 8px rgba(255,255,255,0.1);
}

.notes-container{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note{
  background: var(--input-bg);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 5px 5px 12px rgba(0,0,0,0.4), -5px -5px 12px rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.note:hover{
  transform: translateY(-2px);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.5), -2px -2px 8px rgba(255,255,255,0.05);
}

.note .delete-btn{
  background: #d11a1a;
  color:#fff;
  border:none;
  border-radius:8px;
  padding:4px 8px;
  cursor:pointer;
  font-weight:bold;
  transition: all 0.2s ease;
}

.note .delete-btn:hover{
  background:#ff3b3b;
}
