body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #6200ee;
    color: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pro-link {
    background: rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.2s;
}

.pro-link:hover {
    background: rgba(255,255,255,0.35);
}

h1 {
    margin: 0;
    font-size: 1.8rem;
}

main {
    flex-grow: 1;
    padding: 1rem;
    max-width: 600px;
    margin: 20px auto;
    width: 100%;
}

section {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

#mood-text {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    min-height: 80px;
    resize: vertical;
}

#mood-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

#mood-options button {
    background-color: #e0e0e0;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

#mood-options button:hover {
    background-color: #d0d0d0;
}

#mood-options button.selected {
    background-color: #6200ee;
    color: white;
}

#save-entry {
    background-color: #03dac6;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%;
    transition: background-color 0.2s;
}

#save-entry:hover {
    background-color: #018786;
}

#mood-history-list {
    list-style: none;
    padding: 0;
}

#mood-history-list li {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 1rem;
    margin-bottom: 10px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mood-history-list li .entry-date {
    font-size: 0.9rem;
    color: #666;
}

#mood-history-list li .entry-content {
    flex-grow: 1;
    margin-left: 10px;
}

#mood-history-list li .entry-mood {
    font-size: 1.5rem;
    margin-right: 10px;
}

#mood-history-list li button {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 0.9rem;
}

#mood-history-list li button:hover {
    text-decoration: underline;
}
