/* ==============================
   COLOR PALETTE (Cafe inspired)
   ============================== */
:root {
    --bg-main: #eeefec;
    --card-bg: #f8f9f7;
    --sidebar-dark: #1f4f4a;    /* deep green/turquoise */
    --sidebar-light: #2f7f76;   /* lighter turquoise */
    --accent-gold: #c9a24d;     /* warm gold */
    --text-dark: #243333;
    --text-muted: #6b7c78;
    --border-soft: #d6ddd9;
}

/* ==============================
   BASE
   ============================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Tahoma, sans-serif;
    color: var(--text-dark);
}


#root {
    display: flex;
    height: 100vh;
}

/* ==============================
   SIDEBAR
   ============================== */
.sidebar {
    width: 64px;
    background: linear-gradient(
            180deg,
            var(--sidebar-dark),
            var(--sidebar-light)
    );
    color: white;
    transition: width 0.3s ease;
    overflow: hidden;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
}

.sidebar:hover {
    width: 220px;
}

.sidebar ul {
    list-style: none;
    padding: 1rem 0;
}

.sidebar li {
    padding: 1rem 1.2rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar li:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--accent-gold);
}

.sidebar li.active {
    background-color: rgba(0, 0, 0, 0.25);
    color: var(--accent-gold);
    font-weight: 600;
}

/* ==============================
   MAIN CONTENT
   ============================== */
.main {
    flex: 1;
    padding: 2rem;
    background-image:
            linear-gradient(
                    rgba(238, 239, 236, 0.5),
                    rgba(233, 235, 231, 0.5)
            ),
            url("/Pictures/Mudhoney-front.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-y: auto;
}

/* ==============================
   HEADINGS
   ============================== */
h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* ==============================
   FORM
   ============================== */
form {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

input,
textarea {
    padding: 0.6rem 0.7rem;
    border-radius: 6px;
    font-size: 0.95rem;
    background-color: #f3f5f2;
    border: 1px solid #d2dad6;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--sidebar-light);
    background-color: #fdfefe;
}

/* ==============================
   BUTTONS
   ============================== */
button {
    align-self: flex-start;
    background-color: var(--sidebar-dark);
    color: white;
    border: none;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: var(--sidebar-light);
}

/* ==============================
   ONELINER LIST
   ============================== */
ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

li {
    background-color: #f7f8f6;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

li strong {
    display: block;
    margin-bottom: 0.3rem;
}

li span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.postit-board {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.postit {
    width: 200px;
    min-height: 150px;
    padding: 15px;
    box-shadow: 3px 5px 10px rgba(0,0,0,0.2);
    transform: rotate(-1deg);
    font-family: "Comic Sans MS", "Segoe UI", sans-serif;
    border-radius: 4px;
}

.postit:nth-child(even) {
    transform: rotate(2deg);
}

.postit h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.postit p {
    margin: 0;
    font-size: 0.95rem;
}


/* ==============================
   SMALL SCREENS
   ============================== */
@media (max-width: 768px) {
    .sidebar {
        width: 220px;
    }

    .sidebar:hover {
        width: 220px;
    }
}
