
.stickie.soft-yellow { background-color: #FFF9C4; }
.stickie.pastel-green { background-color: #C8E6C9; }
.stickie.sky-blue { background-color: #BBDEFB; }
.stickie.peach { background-color: #FFE0B2; }
.stickie.lavender { background-color: #E1BEE7; }
.stickie.cool-gray { background-color: #E0E0E0; }
.stickie.mint { background-color: #B2DFDB; }
.stickie.powder-pink { background-color: #F8BBD0; }
.stickie.buttercream { background-color: #FFF3E0; }
.stickie.lilac-mist { background-color: #D1C4E9; }


.stickie-text:empty:before {
    content: attr(data-placeholder);
    color: #888;
    pointer-events: none;
    display: block; /* ensures it behaves like placeholder text */
}

.stickie-color-picker {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.stickie-selected-color {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #FFF9C4;
  color: #000000;
}

.stickie-color-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  border-top: none;
  background: white;
  display: none;
  z-index: 999;
  max-height: 200px;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}

.stickie-color-options li {
  padding: 10px;
  color: #333;
  cursor: pointer;
}

.stickie-color-options li:hover {
  background: #f0f0f0;
}

.stickie-color-options.show {
  display: block;
}

/* ===============================
   TIMELINE CONTAINER
   =============================== */
.cycle-timeline-horizontal {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* FIX: reserve vertical space for labels */
    padding: 60px 10px;
    min-height: 175px;
}
/* ===============================
   TRACK
   =============================== */
.cycle-timeline-horizontal .timeline-track {
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: 4px;
    transform: translateY(-50%);
    border-radius: 2px;

    background: linear-gradient(
        to right,
        #ccc,
        rgba(204, 204, 204, 0.6),
        rgba(204, 204, 204, 0.2),
        transparent
    );

    box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
}
/* ===============================
   STAGES
   =============================== */
.timeline-stage {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    justify-content: center;
}
/* ===============================
   DOT
   =============================== */
.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #dee2e6;
    position: relative;
    z-index: 3;
}
.timeline-stage.active .timeline-dot {
    animation: pulse 2s infinite;
}
/* ===============================
   LABELS
   =============================== */
.timeline-label {
    position: absolute;
    width: max-content;
    max-width: 140px;
    font-size: 0.75rem;
    text-align: center;
}
/* Odd → above track */
.timeline-stage:nth-of-type(odd) .timeline-label {
    bottom: 32px;
}
/* Even → below track */
.timeline-stage:nth-of-type(even) .timeline-label {
    top: 32px;
}
/* Connector line */
.timeline-stage::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 14px;
    background: #dee2e6;
}
.timeline-stage:nth-of-type(odd)::after {
    bottom: 14px;
}
.timeline-stage:nth-of-type(even)::after {
    top: 14px;
}
/* ===============================
   COLORS
   =============================== */
.dot-seedling {
    background-color: #3E7D2F;
    --dot-color: #3E7D2F;
    --dot-color-rgb: 62, 125, 47;
}
.dot-veg {
    background-color: #1C7C7B;
    --dot-color: #1C7C7B;
    --dot-color-rgb: 28, 124, 123;
}
.dot-flower {
    background-color: #C7435F;
    --dot-color: #C7435F;
    --dot-color-rgb: 199, 67, 95;
}
.dot-autoflower {
    background-color: #9C7A1A;
    --dot-color: #9C7A1A;
    --dot-color-rgb: 156, 122, 26;
}
.dot-completed {
    background-color: #155724;
    --dot-color: #155724;
    --dot-color-rgb: 21, 87, 36;
}
/* ===============================
   PULSE
   =============================== */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--dot-color);
    }
    70% {
        transform: scale(1.4);
        box-shadow: 0 0 0 10px rgba(var(--dot-color-rgb), 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--dot-color);
    }
}
/* ===============================
   MOBILE SAFETY
   =============================== */
@media (max-width: 576px) {
    /* Switch layout model */
    .cycle-timeline-horizontal {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
        min-height: unset;
    }
    /* Remove horizontal track */
    .cycle-timeline-horizontal .timeline-track {
        display: none;
    }
    /* Stack stages vertically */
    .timeline-stage {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
        padding: 5px 15px;
        flex: unset;
    }
    /* Dot alignment */
    .timeline-dot {
        margin: 0;
        flex-shrink: 0;
        margin-top: 4px;
    }
    /* Reset absolute label positioning */
    .timeline-label {
        position: static;
        max-width: none;
        text-align: left;
        font-size: 0.8rem;
    }
    /* Remove connectors */
    .timeline-stage::after {
        display: none;
    }
    /* Remove alternating logic */
    .timeline-stage:nth-of-type(odd) .timeline-label,
    .timeline-stage:nth-of-type(even) .timeline-label {
        top: auto;
        bottom: auto;
    }
}

.section-jump-btn {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.section-jump-target {
    scroll-margin-top: 90px;
}

.journal-cycle-photo-wrap {
    width: 96px;
    padding: 0.75rem 0 0.75rem 0.75rem;
}

.journal-cycle-photo,
.journal-cycle-photo-placeholder {
    width: 96px;
    height: 96px;
    border-radius: var(--bs-border-radius);
}

.journal-cycle-photo {
    object-fit: cover;
    display: block;
}

.journal-cycle-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bs-border-color);
    background: rgba(0, 0, 0, 0.03);
}

.min-width-0 {
    min-width: 0;
}

@media (max-width: 575.98px) {
    .journal-cycle-photo-wrap {
        width: 82px;
        padding: 0.75rem 0 0.75rem 0.75rem;
    }

    .journal-cycle-photo,
    .journal-cycle-photo-placeholder {
        width: 82px;
        height: 82px;
    }
}

.gb-sponsor-rail {
    position: sticky;
    top: 6rem;
}

.gb-sponsor-logo {
    width: auto;
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}