/* note.css */

.notes-body {
  margin: 0;
  font-family: sans-serif;
  background-image: url('images/bg3.png');
  background-repeat: repeat;
  background-size: auto;
  min-height: 100vh;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.back-home {
  position: fixed;
  top: 1rem;
  left: 1rem;
  font-size: 0.85rem;
  color: pink;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.back-home:hover {
  opacity: 1;
}

.notes-header {
  margin-top: 2rem;
  text-align: center;
}

.notes-header h1 {
  font-size: 2rem;
  color: pink;
  text-shadow: 1px 1px red;
}

/* ── corkboard ── */

.corkboard-wrapper {
  margin-top: 1.5rem;
}

.corkboard {
  width: 750px;
  height: 520px;
  position: relative;
  box-shadow: 4px 4px 16px rgba(0,0,0,0.4);
  border-radius: 10px;
  background-image: url('images/note/board.png');
  background-size: 100% 100%;
}

.corkboard-inner {
  position: absolute;
  top: 35px;
  left: 35px;
  right: 35px;
  bottom: 35px;
  overflow: auto;
  background: transparent;  /* no background, shows the board behind */
}
.corkboard-inner::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}
.corkboard-inner::-webkit-scrollbar-thumb {
  background: #8B5E3C;
  border-radius: 1px;
}


/* ── sticky notes ── */

.sticky {
  position: absolute;
  width: 160px;
  min-height: 130px;
  border-radius: 4px;
  padding: 0.5rem 0.75rem 0.75rem;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.2);
  box-sizing: border-box;
}

.sticky-title {
  font-size: 0.7rem;
  font-weight: bold;
  color: #3a2a10;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  padding-bottom: 0.3rem;
  margin-bottom: 0.4rem;
  text-transform: lowercase;
}

.sticky ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.65rem;
  color: #3a2a10;
  line-height: 1.7;
}

.sticky a {
  color: #3a2a10;
  text-decoration: underline dotted;
}

.sticky a:hover {
  opacity: 0.7;
}

/* ── notepad ── */

.notepad {
  position: absolute;
  width: 200px;        
  height: 250px;       
  background-image: url('images/note/notepad.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  overflow: hidden;    
}

.notepad-img {
  width: 100%;
  display: block;
}

.notepad-text {
  position: absolute;
  top: 40px;
  left: 20px;          
  right: 20px;
  bottom: 16px;
  font-size: 0.60rem;
  color: #3a2a10;
  line-height: 1.2;
  overflow-y: auto;
}

.notepad-text::-webkit-scrollbar {
  width: 4px;
}
.notepad-text::-webkit-scrollbar-thumb {
  background: #c2a87a;
  border-radius: 2px;
}

.notepad-text p {
  margin: 0 0 0.3rem;
}

.check {
  position: absolute;
  width: 165px;        /* adjust to your check.png dimensions */
  height: 297px;
  background-image: url('images/note/check.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.check-text {
  position: absolute;
  top: 80px;           /* adjust to where the writing area starts */
  left: 12px;
  right: 12px;
  bottom: 12px;
  font-size: 0.60rem;
  color: #3a2a10;
  line-height: 1.4;
  overflow-y: auto;
}

.check-text::-webkit-scrollbar {
  width: 4px;
}
.check-text::-webkit-scrollbar-thumb {
  background: #c2a87a;
  border-radius: 2px;
}

.check-text p {
  margin: 0 0 0.3rem;
}

/* ── stickers ── */

.board-sticker {
  position: absolute;
  pointer-events: none;
}

/* ── pushpins ── */

.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 40% 35%, #ff6b6b, #c0392b);
  border-radius: 50%;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  z-index: 10;
}

/* ── responsive ── */

@media (max-width: 800px) {
  .corkboard {
    width: 95vw;
    height: 480px;
  }
}