body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f0f8ff, #a1c4fd);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 500px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    color: #333333;
    margin-bottom: 20px;
    font-size: 2em;
}

.journal-input {
    margin: 20px 0;
}

.input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#gratitude-input {
    width: 70%;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    background-color: #5cb85c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #4cae4c;
    transform: scale(1.05);
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.added-gratitudes {
    margin: 20px 0;
}

.added-gratitudes ul {
    list-style: none;
    padding: 0;
}

.added-gratitudes li {
    background: #e9f7ef;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
}

#results {
    margin-top: 20px;
    text-align: left;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

#results.hidden {
    display: none;
}

#gratitude-output, #total-points, #positive-percentage {
    color: #555555;
    font-size: 18px;
}

#negative-warning {
    color: red;
    font-size: 18px;
}

.hidden {
    display: none;
}
