/* Context Menu Styles */
#context-menu {
    position: fixed;
    background: rgba(240, 240, 240, 0.95);
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    padding: 2px;
    min-width: 150px;
    z-index: 2000;
    border-radius: 3px;
}

.menu-item {
    padding: 5px 25px 5px 30px;
    font-size: 12px;
    cursor: default;
    position: relative;
    border-radius: 2px;
}

.menu-item:hover {
    background: #3a7bd5;
    color: white;
}

.menu-item hr {
    margin: 2px 0;
    border: none;
    border-top: 1px solid #ddd;
}

/* App Specific Styles */
.notepad-content {
    width: 100%;
    height: 100%;
    border: none;
    padding: 10px;
    font-family: 'Consolas', monospace;
    font-size: 14px;
    resize: none;
    outline: none;
}

.calc-container {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.calc-display {
    width: 100%;
    height: 40px;
    background: #eee;
    border: 1px solid #ccc;
    text-align: right;
    padding: 5px 10px;
    font-size: 20px;
    font-family: monospace;
}

.calc-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    flex: 1;
}

.calc-btn {
    padding: 10px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    cursor: pointer;
    text-align: center;
    border-radius: 3px;
}

.calc-btn:hover {
    background: #e0e0e0;
}

.explorer-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.explorer-toolbar {
    padding: 5px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 10px;
}

.explorer-content {
    flex: 1;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 80px);
    grid-auto-rows: 90px;
    gap: 10px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
}

.file-item:hover {
    background: rgba(58, 123, 213, 0.1);
    outline: 1px solid rgba(58, 123, 213, 0.2);
}

.file-item img {
    margin-bottom: 5px;
}

.file-item span {
    font-size: 11px;
    word-break: break-all;
}

.cmd-container {
    background: black;
    color: #00ff00;
    font-family: 'Consolas', monospace;
    padding: 10px;
    height: 100%;
    overflow-y: auto;
}

.cmd-input-line {
    display: flex;
    gap: 5px;
}

.cmd-input {
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    flex: 1;
}
