/* Window Controls (Aero Style) */

.window-controls-group {
    display: flex;
    gap: 0;
    /* Buttons are usually attached in Aero */
    height: 20px;
    /* Small height for the header controls */
    align-items: flex-start;
}

.win-btn {
    width: 28px;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    outline: none;
    cursor: default;
    /* Aero buttons use default cursor */
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Segoe UI Symbol", "Segoe UI", sans-serif;
    font-size: 10px;
    color: #000;
    background: linear-gradient(to bottom, #fff 0%, #dcdcdc 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    margin-left: 1px;
    position: relative;
    padding: 0;
}

/* Hover States */
.win-btn:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Minimize Button */
.win-btn.minimize {
    background: linear-gradient(to bottom, #dbecf9 0%, #b2d6f2 50%, #8ac1ed 51%, #aed6f3 100%);
    border-color: #8bb3cf;
}

.win-btn.minimize:hover {
    background: linear-gradient(to bottom, #eaf6fd 0%, #d9f0fc 50%, #bee6fd 100%);
    box-shadow: 0 0 3px #6eb9f7;
}

.win-btn.minimize::before {
    content: "";
    width: 8px;
    height: 2px;
    background-color: #000;
    position: absolute;
    bottom: 5px;
}

/* Maximize Button (Optional, not changing functionality yet, just visual) */
.win-btn.maximize {
    background: linear-gradient(to bottom, #dbecf9 0%, #b2d6f2 50%, #8ac1ed 51%, #aed6f3 100%);
    border-color: #8bb3cf;
}

.win-btn.maximize:hover {
    background: linear-gradient(to bottom, #eaf6fd 0%, #d9f0fc 50%, #bee6fd 100%);
}

.win-btn.maximize::before {
    content: "";
    /* Square icon */
    width: 9px;
    height: 7px;
    border: 1px solid #000;
    border-top-width: 2px;
}

/* Close Button */
.win-btn.close {
    background: linear-gradient(to bottom, #efa1a1 0%, #e87b7b 50%, #e25858 51%, #eb9090 100%);
    border-color: #b05656;
    width: 40px;
    /* Close button is usually wider */
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.win-btn.close:hover {
    background: linear-gradient(to bottom, #f3babad9 0%, #ed9696 50%, #e67272 51%, #f2aaaa 100%);
    box-shadow: 0 0 3px #e56e6e;
    background-color: #e81123;
    /* Fallback/Strong red */
    background: #e81123;
}

.win-btn.close::before {
    content: "×";
    /* Multiplication sign for X */
    font-size: 16px;
    line-height: 16px;
    padding-bottom: 2px;
    display: block;
}