/* LOGIN SCREEN */
.login-box {
max-width: 350px; margin: 80px auto; background: white;
padding: 30px; border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
border: 2px solid #E8D8F0;
}
h2 { text-align: center; color: #9060B0; margin-bottom: 15px; }
.hint { font-size: 14px; color: #555; background: #F8F0FC; padding: 10px; border-radius: 8px; margin-bottom: 15px; line-height: 1.5; }
input {
width: 100%; padding: 12px; margin: 8px 0; border-radius: 10px;
border: 2px solid #E0D0E8; font-size: 16px; box-sizing: border-box;
}
button {
width: 100%; padding: 12px; background: #9060C0; color: white;
border: none; border-radius: 10px; font-size: 17px; cursor: pointer; margin-top: 10px;
}
button:hover { opacity: 0.9; }
.error { color: red; text-align: center; margin-top: 10px; min-height: 25px; }
/* NOTEPAD SCREEN */
.notepad { display: none; max-width: 600px; margin: 0 auto; }
.top-bar { text-align: center; color: #886677; margin-bottom: 10px; font-size: 14px; }
textarea {
width: 100%; min-height: 280px; padding: 15px; border-radius: 12px;
border: 2px solid #F0D9E8; font-size: 16px; line-height: 1.6;
box-sizing: border-box; background: white; margin-bottom: 10px;
}
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 15px; }
.btn { flex: 1; padding: 10px; font-size: 14px; background: #88B8E8; }
.btn.save { background: #E8A8D0; }
.status { text-align: center; color: #448844; margin-bottom: 20px; min-height: 25px; }
/* TIMERS */
.timers { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.timer {
width: 150px; background: white; border-radius: 15px; padding: 15px;
text-align: center; border: 2px solid #E8E0F0; position: relative;
}
.time { font-size: 32px; color: #6A5880; margin: 10px 0; }
.time.red { color: #B00020; animation: blink 0.5s infinite alternate; }
@keyframes blink { from { opacity: 0.8; } to { opacity: 1; } }
.timer button { width: auto; padding: 6px 12px; margin: 3px; font-size: 13px; border-radius: 20px; background: #B8A8CC; }
.timer button:nth-child(2) { background: #E0B0C0; }
.msg {
position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
background: #333; color: white; padding: 4px 8px; border-radius: 10px;
font-size: 11px; opacity: 0; transition: opacity 0.3s; pointer-events: none; white-space: nowrap;
}
.msg.show { opacity: 1; }
/* SAVED LIST */
.saved-box { background: #FFF8FC; padding: 15px; border-radius: 15px; border: 2px solid #F4E6EF; }
.saved-title { font-size: 16px; color: #B86A98; margin-bottom: 10px; font-weight: bold; }
.saved-item {
background: white; border-radius: 8px; padding: 10px; margin-bottom: 8px;
border: 1px solid #F0D9E8; font-size: 14px;
}
.saved-text { margin-bottom: 4px; }
.saved-info { font-size: 11px; color: #999; }
.small-btn { padding: 3px 6px; font-size: 11px; margin: 2px; border-radius: 5px; background: #F8EEF4; color: #B86A98; border: none; cursor: pointer; }
.empty { color: #C8A8B8; font-style: italic; text-align: center; padding: 15px; }
<div class="btn-row">
<button class="btn save" onclick="saveNote()">💾 Save Note</button>
<button class="btn" onclick="recallNote()">🔁 Recall</button>
<button class="btn" onclick="clearNote()">🗑️ Clear</button>
</div>
<div class="status" id="status"></div>
<!-- TIMERS -->
<div class="timers">
<div class="timer">
<div class="msg" id="m1"></div>
<div class="time" id="t1">2:00</div>
<button onclick="go1()">Start</button>
<button onclick="reset1()">Reset</button>
</div>
<div class="timer">
<div class="msg" id="m2"></div>
<div class="time" id="t2">2:00</div>
<button onclick="go2()">Start</button>
<button onclick="reset2()">Reset</button>
</div>
</div>
<!-- SAVED LIST -->
<div class="saved-box">
<div class="saved-title">💕 Saved Notes</div>
<div id="list"></div>
</div>