/* Windows 95 Retro Styling */
.win95-notepad-container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    font-family: "MS Sans Serif", "Courier New", Courier, monospace, sans-serif;
    background-color: transparent;
}

.win95-notepad {
    background-color: #c0c0c0;
    padding: 3px;
    box-sizing: border-box;
    cursor: default;
    user-select: none;
    z-index: 10;
}

/* Classic Retro Bevel Borders */
.win95-notepad.classic-bevel {
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    box-shadow: 1px 1px 0px 0px #000000;
}

/* Flat Alternative Borders */
.win95-notepad.flat-borders {
    border: 2px solid #4a4a4a;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Titlebar */
.win95-titlebar {
    background: #000080;
    color: #ffffff;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: move;
}

.win95-titlebar-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.win95-notepad-icon {
    width: 16px;
    height: 16px;
}

/* Menubar */
.win95-menubar {
    display: flex;
    background: #c0c0c0;
    padding: 4px 4px 2px 4px;
    font-size: 12px;
    border-bottom: 1px solid #808080;
    gap: 12px;
}

.win95-menu-item {
    position: relative;
    cursor: pointer;
    user-select: none;
    padding: 2px 6px;
}

.win95-menu-item:hover, .win95-menu-item:focus-within {
    background: #000080;
    color: #ffffff;
}

/* Dropdown styling */
.win95-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #c0c0c0;
    border-top: 1.5px solid #ffffff;
    border-left: 1.5px solid #ffffff;
    border-right: 1.5px solid #808080;
    border-bottom: 1.5px solid #808080;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 999;
    min-width: 120px;
}

.win95-menu-item:hover .win95-dropdown,
.win95-menu-item:focus-within .win95-dropdown {
    display: block;
}

.win95-dropdown-item {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: #000000;
    text-align: left;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
}

.win95-dropdown-item:hover {
    background: #000080;
    color: #ffffff;
}

/* Textarea Container with Retro Inside Shadows */
.win95-textarea-container {
    background: #ffffff;
    border-top: 2.5px solid #808080;
    border-left: 2.5px solid #808080;
    border-right: 1.5px solid #ffffff;
    border-bottom: 1.5px solid #ffffff;
    margin: 4px;
}

.win95-textarea {
    width: 100% !important;
    background: #ffffff;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    color: #000000;
    padding: 8px;
    resize: none;
    box-sizing: border-box;
    display: block;
    overflow-y: auto;
    user-select: text;
    cursor: text;
}

.win95-textarea a {
    color: #0000ff !important;
    text-decoration: underline;
    cursor: pointer;
}
