body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #000000;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0f0f0;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

#clockContainer {
    display: flex;
    align-items: center;
}

#clockIcon {
    margin-right: 10px;
    font-size: 1.5em;
    color: #007bff;
    transition: transform 0.3s;
}

#clockIcon:hover {
    transform: scale(1.2);
}

#clock {
    font-size: 1.5em;
    color: #007bff;
    font-weight: bold;
}

#pomodoroContainer {
    display: flex;
    align-items: center;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#pomodoroIcon {
    margin-right: 10px;
    font-size: 1.5em;
    color: #007bff;
}

#timer {
    font-size: 2em;
    color: #007bff;
    margin-right: 10px;
}

#pomodoroControls {
    display: flex;
    align-items: center;
}

#pomodoroControls button,
#newPageBtn,
#saveNoteBtn,
#saveBulletinBtn,
#savePageBtn {
    margin-left: 5px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#pomodoroControls button:hover,
#newPageBtn:hover,
#saveNoteBtn:hover,
#saveBulletinBtn:hover,
#savePageBtn:hover {
    background-color: #0056b3;
}

.content-wrapper {
    display: flex;
    margin-top: 20px;
}

.journal-container {
    width: 300px;
    background: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}

.journal-container h2 {
    margin-top: 0;
}

#taskContainer,
#notesContainer,
#bulletinContainer {
    flex: 1;
    background: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#taskList,
#notesList,
#bulletinList {
    list-style-type: none;
    padding: 0;
}

#taskList li,
#notesList li,
#bulletinList li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

#taskList li.completed {
    text-decoration: line-through;
    color: #aaa;
}

textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    transition: border-color 0.3s;
    resize: none; /* Disable manual resizing */
}

textarea:focus {
    border-color: #007bff;
}

.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
    background-color: #0056b3;
}

.theme-toggle:active {
    transform: scale(0.9);
}

.draggable {
    cursor: move;
    border: 1px dashed #007bff;
    padding: 10px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .journal-container {
        margin-right: 0;
        margin-bottom: 20px;
    }

    #pomodoroContainer {
        flex-direction: column;
        align-items: flex-start;
    }
}

body.dark-mode {
    background-color: #333;
    color: #ffffff;
}

header.dark-mode {
    background: #444;
}

textarea.dark-mode {
    background-color: #555;
    color: #ffffff;
}
