/* ═══ Update Simulator Styles ═══ */

/* OS Selection Grid */
.os-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}

.os-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.os-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.os-btn-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.os-btn-icon svg {
    width: 48px;
    height: 48px;
}

.os-btn-name {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ═══ Simulation Running ═══ */
.simulation-running {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.update-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    color: white;
}

/* ═══ Windows 10 ═══ */
.win10-layout {
    gap: 24px;
}

.win10-spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.win10-spinner-ring {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: win10spin 1.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes win10spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.win10-text {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    color: white;
    margin: 0;
}

.win10-pct {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 2.8rem;
    font-weight: 200;
    color: white;
    margin: 0;
}

.win10-sub {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ═══ Windows 11 ═══ */
.win11-layout {
    gap: 20px;
}

.win11-logo {
    margin-bottom: 30px;
}

.win11-logo svg {
    width: 40px;
    height: 40px;
    opacity: 0.9;
}

.win11-dots {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    height: 10px;
}

.win11-dots div {
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    animation: win11dot 2s infinite ease-in-out;
}

.win11-dots div:nth-child(1) {
    animation-delay: 0s;
}

.win11-dots div:nth-child(2) {
    animation-delay: 0.15s;
}

.win11-dots div:nth-child(3) {
    animation-delay: 0.3s;
}

.win11-dots div:nth-child(4) {
    animation-delay: 0.45s;
}

.win11-dots div:nth-child(5) {
    animation-delay: 0.6s;
}

@keyframes win11dot {

    0%,
    60%,
    100% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    30% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.win11-pct {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 4rem;
    font-weight: 200;
    color: white;
    margin: 10px 0 0 0;
}

.win11-text {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.win11-sub {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ═══ macOS ═══ */
.mac-layout {
    gap: 30px;
}

.apple-logo svg {
    width: 80px;
    height: 80px;
}

.mac-progress-bar {
    width: 300px;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.mac-progress-fill {
    height: 100%;
    width: 0%;
    background: #ffffff;
    border-radius: 3px;
    transition: width 1s ease;
}

.mac-remaining {
    font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* ═══ BSOD ═══ */
.os-bsod {
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.bsod-content {
    max-width: 700px;
    padding: 60px;
    color: white;
    text-align: left;
}

.bsod-frown {
    font-size: 8rem;
    font-weight: 100;
    margin: 0 0 24px 0;
    line-height: 1;
}

.bsod-main {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.bsod-info {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.bsod-progress {
    font-size: 0.85rem;
    font-weight: 300;
    margin: 0 0 30px 0;
}

.bsod-details {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
}

.bsod-qr svg {
    width: 80px;
    height: 80px;
}

.bsod-text-info p {
    font-size: 0.7rem;
    font-weight: 300;
    margin: 0 0 8px 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.bsod-stop {
    font-size: 0.65rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ═══ ChromeOS ═══ */
.chromeos-layout {
    gap: 24px;
}

.chrome-logo svg {
    width: 48px;
    height: 48px;
}

.chrome-spinner-wrap {
    height: 20px;
    display: flex;
    align-items: center;
}

.chrome-spinner {
    display: flex;
    gap: 6px;
}

.chrome-spinner div {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: chromeBounce 1.2s infinite ease-in-out;
}

.chrome-spinner div:nth-child(1) {
    background: #4285F4;
    animation-delay: 0s;
}

.chrome-spinner div:nth-child(2) {
    background: #DB4437;
    animation-delay: 0.2s;
}

.chrome-spinner div:nth-child(3) {
    background: #F4B400;
    animation-delay: 0.4s;
}

@keyframes chromeBounce {

    0%,
    70%,
    100% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(-10px);
    }
}

.chromeos-pct {
    font-family: 'Roboto', 'Google Sans', system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #e8eaed;
    margin: 0;
}

.chromeos-sub {
    font-family: 'Roboto', 'Google Sans', system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: #9aa0a6;
    margin: 0;
}

/* ═══ Update Menu ═══ */
#update-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
}

#update-menu h3 {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
    margin: 0;
}

#update-menu p {
    font-size: 0.8rem;
    opacity: 0.4;
    margin: 0;
}

#update-menu.hidden {
    display: none;
}