body {
background: #FAF5FC;
min-height: 100vh;
padding: 2rem;
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
}
.main-content.locked {
opacity: 0.1;
pointer-events: none;
user-select: none;
filter: blur(8px);
}
.owner-badge {
position: fixed;
top: 15px;
left: 15px;
background: linear-gradient(135deg, #E8A8D0, #D488B8);
color: #fff;
padding: 0.4rem 1rem;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 500;
z-index: 995;
}
.owner-badge.hidden { display: none; }
.admin-toggle-btn {
position: fixed;
top: 15px;
right: 15px;
width: 48px;
height: 48px;
border-radius: 50%;
border: none;
background: linear-gradient(135deg, #9060B0, #7040A0);
color: #fff;
font-size: 1.3rem;
cursor: pointer;
z-index: 998;
box-shadow: 0 2px 10px rgba(112,64,160,0.3);
}
.admin-toggle-btn.hidden { display: none; }
.admin-panel {
position: fixed;
top: 75px;
right: 15px;
background: #FFF;
border: 2px solid #E8D8F0;
border-radius: 16px;
padding: 1rem;
width: 340px;
max-width: 90%;
box-shadow: 0 6px 24px rgba(160,120,180,0.2);
z-index: 997;
display: none;
}
.admin-panel.show { display: block; }
.admin-title {
font-size: 1rem;
font-weight: 600;
color: #9060B0;
margin-bottom: 0.8rem;
padding-bottom: 0.4rem;
border-bottom: 1px dashed #E8D8F0;
}
.user-list {
max-height: 320px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.user-card {
background: #FAF8FC;
border-radius: 10px;
padding: 0.6rem;
border: 1px solid #E8E0F0;
}
.user-card .u-name { font-weight: 600; color: #7A5090; font-size: 0.9rem; }
.user-card .u-meta { font-size: 0.75rem; color: #999; margin-top: 0.25rem; }
.login-screen {
position: fixed;
inset: 0;
background: linear-gradient(135deg, #FAF5FC, #F0E8F8);
display: none;
align-items: center;
justify-content: center;
z-index: 999;
padding: 1rem;
}
.login-screen.show { display: flex; }
.login-box {
background: #FFF;
border-radius: 28px;
padding: 2.2rem 2rem;
box-shadow: 0 10px 40px rgba(160,120,180,0.25);
border: 2px solid #E8D8F0;
width: 380px;
max-width: 100%;
text-align: center;
}
.login-title { font-size: 1.45rem; color: #9060B0; margin-bottom: 0.5rem; }
.new-user-hint {
font-size: 0.9rem;
color: #7040A0;
background: #F8F0FC;
border: 1px solid #E8D8F0;
border-radius: 10px;
padding: 0.6rem;
margin-bottom: 1rem;
}
.login-warning {
font-size: 0.82rem;
color: #C04060;
background: #FFF0F4;
border: 1px solid #F0D0DC;
border-radius: 12px;
padding: 0.7rem;
margin-bottom: 1.2rem;
line-height: 1.5;
}
.login-input {
width: 100%;
padding: 0.85rem 1rem;
margin-bottom: 0.9rem;
border-radius: 12px;
border: 2px solid #E0D0E8;
font-size: 0.95rem;
outline: none;
background: #FAF8FC;
}
.login-btn {
width: 100%;
padding: 0.85rem;
border-radius: 12px;
border: none;
background: linear-gradient(135deg, #B080D0, #9060C0);
color: #fff;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: transform 0.25s;
margin-top: 0.3rem;
}
.login-btn:hover { transform: scale(1.03); }
.login-error {
color: #D03050;
font-size: 0.9rem;
margin-top: 0.8rem;
min-height: 1.5rem;
font-weight: 500;
}
.main-content {
width: 100%;
max-width: 640px;
transition: all 0.3s ease;
}
.datetime-bar {
text-align: center;
color: #9A6A88;
font-size: 0.95rem;
margin-bottom: 0.8rem;
padding-bottom: 0.5rem;
border-bottom: 1px dashed #F0D9E8;
}
.notepad-wrap {
width: 100%;
background: #FFF8FC;
border-radius: 24px;
padding: 1.5rem 1.8rem;
box-shadow: 0 8px 32px rgba(216,168,196,0.25);
border: 2px solid #F4E6EF;
margin-bottom: 1.5rem;
}
.notepad-title {
text-align: center;
font-size: 1.6rem;
color: #B86A98;
font-weight: 600;
margin-bottom: 0.3rem;
}
.note-editor {
width: 100%;
min-height: 260px;
padding: 1rem;
border-radius: 16px;
border: 2px solid #F0D9E8;
background: #FFFFFF;
font-size: 0.95rem;
line-height: 1.8;
color: #5A3F50;
outline: none;
margin-bottom: 0.8rem;
white-space: pre-wrap !important;
word-wrap: break-word;
}
.btn-bar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
}
.icon-save-btn {
width: 44px;
height: 44px;
border-radius: 50%;
border: none;
background: linear-gradient(135deg, #E8A8D0, #D488B8);
color: #fff;
font-size: 1.2rem;
cursor: pointer;
}
.status-text {
font-size: 0.85rem;
color: #779977;
min-height: 1.2rem;
}
.recall-section {
width: 100%;
background: #F0F4FC;
border-radius: 24px;
padding: 1.3rem 1.8rem;
box-shadow: 0 6px 24px rgba(136,168,196,0.2);
border: 2px solid #DCE8F8;
margin-bottom: 1.5rem;
}
.recall-btn {
padding: 0.6rem 1.6rem;
border-radius: 50px;
border: none;
background: linear-gradient(135deg, #88B8E8, #6898D8);
color: #fff;
font-size: 0.95rem;
font-weight: 500;
cursor: pointer;
}
.timers-container {
display: flex;
gap: 2.5rem;
justify-content: center;
width: 100%;
flex-wrap: wrap;
margin-bottom: 1.5rem;
}
.timer-wrap {
width: 260px;
height: 260px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 1rem;
border-radius: 24px;
background: rgba(255,255,255,0.92);
box-shadow: 0 8px 32px rgba(106,88,128,0.15);
position: relative;
border: 2px solid #E8E0F0;
}
.time-display {
font-size: 3.4rem;
color: #6A5880;
margin-bottom: 0.5rem;
margin-top: 24px;
}
.time-display.blink-red {
color: #B00020;
animation: redGlow 0.6s infinite alternate;
}
@keyframes redGlow {
0% { text-shadow: 0 0 4px #B00020, 0 0 8px #B00020, 0 0 12px #FF4060; }
100% { text-shadow: 0 0 8px #B00020, 0 0 16px #B00020, 0 0 24px #FF4060; }
}
.btn-row { display: flex; gap: 0.6rem; }
.btn {
padding: 0.6rem 1.3rem;
font-size: 0.85rem;
border: none;
border-radius: 50px;
background: linear-gradient(90deg, #B8A8CC, #9A82B2);
color: #fff;
cursor: pointer;
}
.btn.reset { background: linear-gradient(90deg, #E0B0C0, #C08898); }
.popup {
position: absolute;
top: 15px;
left: 50%;
transform: translateX(-50%) scale(0.8);
padding: 0.65rem 0.9rem;
background: #3A3A3C;
color: #fff;
border-radius: 20px;
font-size: 0.85rem;
opacity: 0;
transition: all 0.3s ease;
pointer-events: none;
}
.popup.show { opacity: 1; transform: translateX(-50%) scale(1); }
.saved-section-wrap {
width: 100%;
background: #FFF8FC;
border-radius: 24px;
padding: 1.5rem 1.8rem;
box-shadow: 0 8px 32px rgba(216,168,196,0.25);
border: 2px solid #F4E6EF;
}
.saved-notes-list {
display: flex;
flex-direction: column;
gap: 0.9rem;
max-height: 320px;
overflow-y: auto;
}
.saved-note-card {
background: #FFF;
border: 1px solid #F0D9E8;
border-radius: 14px;
padding: 1rem 1.1rem;
position: relative;
}
.empty-notes-msg {
text-align: center;
color: #D4B8C8;
font-size: 0.9rem;
padding: 2rem;
font-style: italic;
}
<div class="recall-section">
<div style="font-size:1rem;color:#5878A8;font-weight:600;margin-bottom:0.7rem;">🔁 Recall Your Note</div>
<button id="recallBtn" class="recall-btn">🔁 Recall My Note</button>
</div>
<div class="timers-container">
<div class="timer-wrap">
<div class="popup" id="popupA"></div>
<div class="time-display" id="dispA">2:00</div>
<div class="status" id="statA">Ready</div>
<div class="btn-row">
<button class="btn" id="btnA">Start</button>
<button class="btn reset" id="resetA">Reset</button>
</div>
</div>
<div class="timer-wrap">
<div class="popup" id="popupB"></div>
<div class="time-display" id="dispB">2:00</div>
<div class="status" id="statB">Ready</div>
<div class="btn-row">
<button class="btn" id="btnB">Start</button>
<button class="btn reset" id="resetB">Reset</button>
</div>
</div>
</div>
<div class="saved-section-wrap">
<div style="font-size:1rem;color:#B86A98;font-weight:600;margin-bottom:0.8rem;">💕 Saved Notes</div>
<div id="savedNotesList" class="saved-notes-list">
<div class="empty-notes-msg">No notes yet ✨</div>
</div>
</div>