.window:has(.calc-wrapper) {
    background: rgba(0, 0, 0, 0.2) !important; 
    backdrop-filter: blur(2px) saturate(180%) !important;
    -webkit-backdrop-filter: none !important;
    border: rgba(0, 0, 0, 0.918)!important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important; 
}

.window:has(.calc-wrapper) .window-header {
    background: transparent !important;
    border-bottom: none !important;
}

.calc-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: auto;
}

.calc-display {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 15px;
    font-size: 36px;
    color: #ffffff;
    text-align: right;
    outline: none;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.4);
    font-family: 'SF Pro Display', monospace;
    letter-spacing: 2px;
}

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

.calc-btn {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    

    background: rgba(53, 52, 52, 0.789) !important; 
    
    backdrop-filter: blur(25px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(150%) !important;
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e1dd;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2), inset 0 1px 1px rgba(255,255,255,0.1);
    transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
}

.calc-btn:hover {
    background: transparent;
    transform: scale(1.08);
}

.calc-btn:active {
    transform: scale(0.95);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}

.calc-action {
    color: #00d5ff;
    background: rgba(0, 210, 255, 0.5);
}

.calc-action:hover {
    background: transparent
}
.calc-equal {
    background: linear-gradient(135deg, #20a4f3 0%, #0b72b8 100%);
    color: white;
    border: none;
    box-shadow: 0 6px 15px rgba(11, 114, 184, 0.4);
}