/* Installer Window Styles */
.installer-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.installer-modal.show {
    display: flex;
}

.installer-modal .installer-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    margin: auto;
}

.installer-content {
    background: silver;
    border: 2px outset #fff;
    border-right-color: #848484;
    border-bottom-color: #848484;
    box-shadow: 2px 2px 0 0 #000;
}

.installer-header {
    height: 32px;
    background: -webkit-linear-gradient(left, #08216b, #a5cef7);
    color: white;
    padding: 2px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #000;
}

.installer-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: normal;
}

.installer-body {
    display: flex;
    background: #c0c0c0;
    min-height: 400px;
    max-height: 60vh;
    overflow: hidden;
    color: #000;
}

.installer-sidebar {
    width: 120px;
    background: #d4d0c8;
    border-right: 1px solid #808080;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.installer-sidebar-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.installer-content-area {
    flex: 1;
    padding: 30px 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.installer-step-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
    font-family: "MS Sans Serif", Tahoma, Verdana, Segoe, sans-serif;
}

.installer-step-description {
    font-size: 12px;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.5;
}

.installer-footer {
    padding: 8px 12px;
    background: #c0c0c0;
    border-top: 1px solid #848484;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.installer-step {
    display: none;
}

.installer-step.active {
    display: block;
}

.installer-progress {
    font-size: 11px;
    color: #000;
    margin-left: auto;
    margin-right: 12px;
}

.installer-nav-buttons {
    display: flex;
    gap: 8px;
}

.installer-btn {
    min-width: 75px;
    padding: 2px 12px;
    font-size: 11px;
}

.installer-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.close-btn {
    width: 20px;
    height: 20px;
    padding: 0;
    font-size: 12px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Progress bar styles */
.progress {
    height: 20px;
    border: 2px inset #d5d5d5;
    background: #fff;
    box-shadow: -1px -1px 0 0 #828282;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #08216b;
    transition: width 0.1s linear;
}

.progress-bar-blocks {
    background-image: repeating-linear-gradient(
        90deg,
        #08216b 0px,
        #08216b 8px,
        #0a2a7f 8px,
        #0a2a7f 16px
    );
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* Installation overlay to block interface */
.installer-installing {
    pointer-events: none;
    position: relative;
}

.installer-installing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.installer-installing .installer-content-area {
    pointer-events: none;
}

