.window {
    background: rgba(255, 255, 255, 1);
    border: solid;
    border-color: #111;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    margin: 0;
    width: 1250px;
    position: absolute;
    display: flex;
    flex-direction: column;
    resize: none;
    overflow: hidden;
    min-width: 350px;
    min-height: 200px;
}

.windowcontent {
    flex: 1;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
}

.windowheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    background-color: #111;
    color: white;
    padding: 10px;
    border-radius: 19px 19px 0 0;
    font-weight: 1000;
    margin: -1px -1px 0;
}

.notesbody {
    display: flex;
    flex: 1;
    min-height: 0;
}

#sidebar {
    width: 300px;
    flex-shrink: 0;
    overflow-y: auto;
    padding: 10px;
    border-right: 1px solid #ccc;
}

.selected {
    background-color:rgba(128, 255, 0, 0.3);
    padding: 8px 8px 0px 8px;
    border-radius: 12px;
}

.app {
    display: inline-block;
    cursor: pointer;
    padding: 8px 8px 0px 8px;
    border-radius: 12px;
    width: 64px;
}

.app:hover {
    background-color:rgba(128, 255, 0, 0.3);
}

.notescontent {
    padding: 16px;
    font-family: "Caveat";
    font-size: 24px;
}

.welcome-pages {
    position: relative;
}

.bottom-bar-button,
.welcome-page-link {
    border: 0;
    color: white;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.bottom-bar-button {
    background-color: #44444488;
    padding: 4px 12px;
    border-radius: 100px;
}

.bottom-bar-button:hover,
.welcome-page-link:hover {
    background-color: #666;
}

.welcome-pages-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    min-width: max-content;
    padding: 6px;
    border-radius: 8px;
    background-color: #222;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.welcome-page-link {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border-radius: 5px;
    background: transparent;
    text-align: left;
}

/* General resize handle settings */
.resize-handle {
    position: absolute;
    z-index: 1000;
    user-select: none;
}

/* Top and bottom edges */
.resize-n,
.resize-s {
    height: 8px;
    left: 12px;
    right: 12px;
    cursor: ns-resize;
}

.resize-n {
    top: 0;
}

.resize-s {
    bottom: 0;
}

/* Left and right edges */
.resize-e,
.resize-w {
    width: 8px;
    top: 12px;
    bottom: 12px;
    cursor: ew-resize;
}

.resize-e {
    right: 0;
}

.resize-w {
    left: 0;
}

/* The four corners */
.resize-ne,
.resize-nw,
.resize-se,
.resize-sw {
    width: 14px;
    height: 14px;
}

.resize-ne {
    top: 0;
    right: 0;
    cursor: ne-resize;
}

.resize-nw {
    top: 0;
    left: 0;
    cursor: nw-resize;
}

.resize-se {
    bottom: 0;
    right: 0;
    cursor: se-resize;
}

.resize-sw {
    bottom: 0;
    left: 0;
    cursor: sw-resize;
}

.tabs {
    display: flex;
    gap: 8px;
    padding-bottom: 4px;
    flex-shrink: 0;
    border-bottom: 1px solid #ccc;
}

.tab {
    padding: 4px 12px;
    border: 1px solid #111;
    border-radius: 8px;
    background: #111;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.tab:hover {
    background: #212121;
}

.tab.active {
    background: white;
    color: #111;
}

/* Keep hidden tabs hidden */
.tab-panel[hidden] {
    display: none !important;
}

/* Make the user's notes area fill the remaining space */
.your-notes-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
}

.user-notes-editor {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 200px;
    gap: 8px;
}

#userNotesInput {
    flex: 1;
    min-height: 160px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #777;
    border-radius: 8px;
    font: inherit;
    resize: vertical;
}

#userNotesSaveStatus {
    margin: 0;
    font-size: 12px;
    opacity: 0.7;
}

#wordAndCharacterCount {
    margin: 0;
    font-size: 12px;
    opacity: 0.7;
    white-space: pre-wrap;
}

#selectionPreview {
    margin: 0;
    font-size: 12px;
    opacity: 0.7;
}

.form-box {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #111;
    border-radius: 8px;
    font: inherit;
    resize: vertical;
}

.submit-button {
    width: 100%;
    background: linear-gradient(45deg, purple, blue, cyan);
    border-radius: 16px;
    height: 75px;
    font-size: 50px;
    color: white;
    font-family: "Caveat";
    border-color: darkgoldenrod;
    cursor: pointer;
    transition: transform 0.15s, filter 0.15s;
}

.submit-button:hover {
    filter: brightness(2);
}

.submit-button:active {
    transform: scale(0.98);
}

.gradient-text {
    background: linear-gradient(45deg, darkorange, orange, coral, hotpink);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.suggestion-card {
    white-space: pre-line;
    border: 2px solid goldenrod;
    background-color: rgba(128, 128, 128, 0.25);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 12px;
    position: relative;
    overflow-wrap: anywhere;
}

.suggestion-category {
    position: absolute;
    top: -10px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 8px;
}

.category-app-idea {
    background-color: #d7c1ff;
    color: #55238c;
}

.category-new-feature {
    background-color: lightblue;
    color: blue;
}

.category-ui-change {
    background-color: rgb(200, 255, 200);
    color: lime;
}

.category-bug-fix {
    background-color: rgb(255, 225, 165);
    color: orange;
}

.category-other {
    background-color: rgb(165, 165, 165);
    color: rgb(33, 33, 33);
}

.apply-filters {
    background: blue;
    width: 100px;
    height: 50px;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: transform 0.15s, filter 0.15s;
}

.apply-filters:active {
    transform: scale(0.95);
}