/* Window */
.window {
    background-color: #d7dade;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: solid;
    width: 800px;
    padding: 30px;
    border-radius: 25px;
}

.window-header {
    display: flex;
    align-items: center;
    cursor: move;
    margin-top: 3px;
}

.window-title {
    font-size: 15px;
    color: #560591;
}

.window-text {
    color: #560591;
}

.closebut {
    cursor: pointer;
    width: 20px;
    height: 20px;
}

/* Topbar */
.topbar-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.topbar {
    display: flex;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    justify-content: space-between;
}

.dock {
    display: flex;
    padding: 4px 10px;
    gap: 2px;
}

/* Reusable pill style for topbar/dock items */
.bar-item {
    color: #333333;
    border: solid;
    font-size: 16px;
    background-color: rgba(215, 218, 222, 0.65);
    border-radius: 12px;
    padding: 7px;
}

.dock-item {
    cursor: pointer;
    margin: 0;
}

.calculator {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.calc-display {
    width: 100%;
    height: 60px;
    font-size: 28px;
    text-align: right;
    padding: 10px;
    border: 2px solid #560591;
    border-radius: 12px;
    background-color: #ffffff;
    color: #560591;
    box-sizing: border-box;
}

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

.calc-btn {
    height: 60px;
    font-size: 24px;
    border: 2px solid #560591;
    border-radius: 12px;
    background-color: rgba(215, 218, 222, 0.9);
    color: #560591;
    cursor: pointer;
}

.calc-btn:hover {
    background-color: rgba(215, 218, 222, 1);
}

.calculator-window {
    width: 280px;
    padding: 16px;
    border-radius: 18px;
}

.notes-window {
    width: 360px;
    padding: 16px;
    border-radius: 18px;
}

.notes-area {
    width: 100%;
    height: 220px;
    resize: none;
    border: 2px solid #560591;
    border-radius: 12px;
    padding: 12px;
    font-size: 18px;
    color: #560591;
    background-color: #ffffff;
    box-sizing: border-box;
}
