body {
background: #FAF5FC;
min-height: 100vh;
padding: 2rem;
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
}
/* 🛠️ EDIT/PREVIEW MODE BANNER (ONLY YOU SEE THIS) */
.edit-mode-banner {
position: fixed;
top: 0;
left: 0;
right: 0;
background: linear-gradient(90deg, #FF6B6B, #FF8E53);
color: #fff;
text-align: center;
padding: 0.6rem;
font-size: 0.9rem;
font-weight: 700;
z-index: 9999;
box-shadow: 0 2px 10px rgba(255,107,107,0.3);
}
.edit-mode-banner.hidden { display: none; }
body.edit-mode-active { padding-top: 3.5rem; }
/* ========== OWNER ADMIN BUTTON (ONLY YOU SEE THIS) ========== */
.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);
transition: transform 0.2s;
}
.admin-toggle-btn:hover { transform: scale(1.1); }
/* ========== ADMIN PANEL (ONLY YOU SEE THIS) ========== */
.admin-panel {
position: fixed;
top: 75px;
right: 15px;
background: #FFF;
border: 2px solid #E8D8F0;
border-radius: 16px;
padding: 1rem;
width: 340px;
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;
}
.admin-hint {
font-size: 0.75rem;
color: #999;
margin-bottom: 0.6rem;
}
.user-list {
max-height: 320px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.user-list::-webkit-scrollbar { width: 5px; }
.user-list::-webkit-scrollbar-thumb { background: #E0D0E8; border-radius: 5px; }
.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;
line-height: 1.4;
}
.admin-clear-btn {
width: 100%;
padding: 0.45rem;
border-radius: 8px;
border: none;
background: linear-gradient(135deg, #E08090, #C05060);
color: #fff;
cursor: pointer;
font-size: 0.85rem;
margin-top: 0.5rem;
}
/* ========== LOGIN SCREEN (VISITORS SEE THIS FIRST) ========== */
.login-screen {
position: fixed;
inset: 0;
background: linear-gradient(135deg, #FAF5FC, #F0E8F8);
display: none; /* STARTS HIDDEN */
align-items: center;
justify-content: center;
z-index: 996;
transition: opacity 0.3s ease;
}
.login-screen.show {
display: flex;
opacity: 1;
}
.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: 90%;
text-align: center;
}
.login-title {
font-size: 1.45rem;
color: #9060B0;
margin-bottom: 0.5rem;
}
.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-input:focus {
border-color: #B080D0;
box-shadow: 0 0 0 4px rgba(160, 110, 200, 0.12);
}
.login-input.error {
border-color: #D03050;
background: #FFF0F4;
animation: shake 0.4s ease;
}
@keyframes shake {
0%, 100% { transform: translateX(0); }
20%, 60% { transform: translateX(-6px); }
40%, 80% { transform: translateX(6px); }
}
.login-btn, .owner-btn {
width: 100%;
padding: 0.85rem;
border-radius: 12px;
border: none;
color: #fff;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: transform 0.25s;
margin-top: 0.5rem;
}
.login-btn {
background: linear-gradient(135deg, #B080D0, #9060C0);
}
.owner-btn {
background: linear-gradient(135deg, #E8A8D0, #D488B8);
margin-top: 0.8rem;
}
.owner-btn.hidden { display: none !important; } /* HIDE ON PUBLISHED LINKS */
.login-btn:hover, .owner-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;
}
.login-hint {
font-size: 0.78rem;
color: #999;
margin-top: 1rem;
}
/* ========== OWNER BADGE (ONLY YOU SEE THIS) ========== */
.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; }
/* ========== NOTEPAD CORE STYLES ========== */
.datetime-bar {
text-align: center;
color: #9A6A88;
font-size: 0.95rem;
margin-bottom: 0.8rem;
padding-bottom: 0.5rem;
border-bottom: 1px dashed #F0D9E8;
}
.date-text { font-weight: 500; }
.time-text {
font-weight: 600;
color: #B86A98;
font-size: 1.05rem;
margin-left: 0.5rem;
}
.notepad-wrap {
width: 620px;
max-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;
}
.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 !important;
white-space: pre-wrap !important;
word-wrap: break-word;
overflow-wrap: break-word;
}
.note-editor:focus {
border-color: #D898BC;
box-shadow: 0 0 0 4px rgba(216, 152, 188, 0.15);
}
.note-editor:empty:before {
content: "✍️ Type freely — ENTER for new lines! All spacing saved exactly! ✨";
color: #D4B8C8;
pointer-events: none;
}
.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;
transition: all 0.3s ease;
}
.icon-save-btn:hover { transform: scale(1.08); }
.status-text {
font-size: 0.85rem;
color: #779977;
min-height: 1.2rem;
}
.recall-section {
width: 620px;
max-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;
}
.recall-title {
font-size: 1rem;
color: #5878A8;
font-weight: 600;
margin-bottom: 0.7rem;
padding-bottom: 0.4rem;
border-bottom: 1px dashed #D0E0F0;
}
.recall-desc {
font-size: 0.85rem;
color: #7898C8;
margin-bottom: 0.8rem;
line-height: 1.5;
}
.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;
transition: all 0.3s ease;
}
.recall-btn:hover { transform: scale(1.05); }
.timers-container {
display: flex;
gap: 2.5rem;
justify-content: center;
width: 100%;
flex-wrap: wrap;
}
.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; }
}
.status {
font-size: 0.85rem;
color: #9A82B2;
margin-bottom: 0.8rem;
}
.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;
transition: transform 0.2s;
}
.btn:hover { transform: scale(1.05); }
.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;
white-space: nowrap;
max-width: 90%;
text-align: center;
}
.popup.show {
opacity: 1;
transform: translateX(-50%) scale(1);
}
.saved-section-wrap {
width: 620px;
max-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-section-title {
font-size: 1rem;
color: #B86A98;
font-weight: 600;
margin-bottom: 0.8rem;
padding-bottom: 0.4rem;
border-bottom: 1px dashed #F0D9E8;
}
.saved-notes-list {
display: flex;
flex-direction: column;
gap: 0.9rem;
max-height: 320px;
overflow-y: auto;
padding-right: 0.3rem;
}
.saved-notes-list::-webkit-scrollbar {
width: 6px;
}
.saved-notes-list::-webkit-scrollbar-track {
background: #FAF0F6;
border-radius: 10px;
}
.saved-notes-list::-webkit-scrollbar-thumb {
background: #E0BFD0;
border-radius: 10px;
}
.saved-note-card {
background: #FFF;
border: 1px solid #F0D9E8;
border-radius: 14px;
padding: 1rem 1.1rem;
position: relative;
width: 100%;
overflow: hidden;
}
.saved-note-preview {
font-size: 0.9rem;
color: #5A3F50;
line-height: 1.6;
white-space: pre-wrap !important;
word-wrap: break-word;
overflow-wrap: break-word;
max-height: 5rem;
overflow: hidden;
border-bottom: 1px dashed #F4E6EF;
padding-bottom: 0.5rem;
}
.saved-note-date {
font-size: 0.75rem;
color: #C8A8B8;
margin-top: 0.5rem;
}
.saved-note-actions {
position: absolute;
top: 0.8rem;
right: 0.8rem;
display: flex;
gap: 0.4rem;
}
.small-action-btn {
border: none;
background: #F8EEF4;
color: #B86A98;
font-size: 0.7rem;
padding: 0.28rem 0.5rem;
border-radius: 7px;
cursor: pointer;
transition: background 0.2s;
}
.small-action-btn:hover {
background: #F4D8E8;
}
.empty-notes-msg {
text-align: center;
color: #D4B8C8;
font-size: 0.9rem;
padding: 2rem;
font-style: italic;
}
👑
<div class="timer-wrap" id="boxB">
<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>