/* macOS Inspired Login Screen */
:root {
    --mac-radius: 12px;
    --mac-shadow: 0 20px 40px rgba(0,0,0,0.3);
    --mac-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.login-mac-body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mac-font);
    background: url('/assets/images/os-wallpaper.png') no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
}

.login-mac-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1;
}

.login-mac-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 360px;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    text-align: center;
    color: white;
    animation: fadeIn 0.8s ease-out;
}

.login-mac-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.login-mac-avatar i {
    font-size: 44px;
    color: rgba(255, 255, 255, 0.8);
}

.login-mac-username {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.login-mac-input-group {
    position: relative;
    background: rgba(255, 255, 255, 0.1); /* شفافية */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 2px 2px 2px 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.login-mac-input-group:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.login-mac-input {
    background-color: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 12px 0 !important;
    width: 100%;
    font-size: 14px;
    outline: none !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
}

.login-mac-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}


.login-mac-submit {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 4px;
}

.login-mac-submit:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* Glassy Checkbox */
.login-autofill-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.login-mac-remember {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.login-mac-remember label {
    cursor: pointer;
    user-select: none;
}

.login-mac-container input[type="checkbox"],
.login-mac-remember input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.login-mac-container input[type="checkbox"]:checked,
.login-mac-remember input[type="checkbox"]:checked {
    background: var(--os-primary, #007AFF);
    border-color: var(--os-primary, #007AFF);
}

.login-mac-container input[type="checkbox"]:checked::after,
.login-mac-remember input[type="checkbox"]:checked::after {
    content: '\eb7b'; /* remixicon check mark */
    font-family: 'remixicon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: white;
}

.login-mac-footer {
    position: fixed;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    z-index: 2;
}

.login-mac-footer-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
    background: none;
    border: none;
}

.login-mac-footer-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.login-mac-footer-btn:active {
    transform: translateY(0) scale(0.96);
}

.login-mac-footer-btn:hover .login-mac-footer-icon {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.login-mac-footer-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-mac-footer-text {
    font-size: 12px;
    font-weight: 500;
}

.login-mac-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: white;
    z-index: 2;
    font-size: 13px;
    font-weight: 500;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-left {
    display: flex;
    align-items: center;
    font-size: 16px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* For multi-account view (if needed later) */
.login-mac-users {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.login-mac-user-item {
    cursor: pointer;
    transition: transform 0.2s;
}

.login-mac-user-item:hover {
    transform: translateY(-5px);
}

/* ── Login OS Power Controls ── */
.login-os-sleep-screen,
.login-os-power-overlay,
.login-os-boot-overlay,
.login-os-powered-off {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.login-os-sleep-screen {
    background: #000;
    cursor: none;
    animation: loginFadeIn 0.5s ease;
    transition: opacity 1.2s ease;
}

.login-os-sleep-screen.waking { opacity: 0; }

.login-os-sleep-icon {
    font-size: 72px;
    opacity: 0.25;
    display: block;
    margin-bottom: 18px;
}

.login-os-sleep-content {
    text-align: center;
    animation: loginSleepBreathe 8s ease-in-out infinite;
}

.login-os-sleep-clock-time {
    font-size: 6.5rem;
    font-weight: 200;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
}

.login-os-sleep-clock-date {
    font-size: 1.2rem;
    opacity: 0.55;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.login-os-sleep-text {
    font-size: 1rem;
    opacity: 0.4;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.login-os-power-overlay,
.login-os-boot-overlay {
    background: #0a0a0a;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.login-os-power-overlay.active,
.login-os-boot-overlay.active { opacity: 1; }

.login-os-power-content,
.login-os-boot-content {
    text-align: center;
}

.login-os-power-spinner {
    font-size: 42px;
    animation: loginSpin 1s linear infinite;
    display: block;
    margin-bottom: 20px;
    opacity: 0.8;
}

.login-os-power-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-os-power-subtitle {
    font-size: 0.95rem;
    opacity: 0.55;
}

.login-os-boot-logo {
    font-size: 64px;
    display: block;
    margin-bottom: 28px;
}

.login-os-boot-logo-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 28px;
}

.login-os-boot-progress {
    width: 200px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.login-os-boot-progress-bar {
    width: 0;
    height: 100%;
    background: #fff;
    transition: width 2.6s cubic-bezier(0.1, 0.5, 0.5, 1);
}

.login-os-boot-overlay.fade-out {
    opacity: 0;
    transition: opacity 0.7s ease;
}

/* ── Premium Server Rack (Powered Off) ── */
.login-os-powered-off {
    background: #050608;
    cursor: default;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    animation: loginPoweredOffIn 0.6s ease;
}

.srv-scene-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.srv-scene {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transform: scale(0.75);
    transform-origin: center center;
    animation: srvSceneIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.srv-env {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 50% 100%, rgba(0, 60, 100, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 120% 70% at 50% 92%, rgba(0, 50, 90, 0.14) 0%, transparent 65%),
        radial-gradient(ellipse 120% 80% at 50% 55%, rgba(8, 14, 24, 0.75) 0%, transparent 70%),
        linear-gradient(180deg, #0a0e14 0%, #06080c 45%, #030405 100%);
}

.srv-env-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.srv-env-rack-wall {
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(32vw, 280px);
    opacity: 0.55;
    background:
        repeating-linear-gradient(
            180deg,
            rgba(0, 180, 220, 0.07) 0 1px,
            transparent 1px 18px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(10, 14, 20, 0.95) 0 38px,
            rgba(22, 30, 40, 0.55) 38px 40px,
            rgba(8, 12, 18, 0.98) 40px 78px
        );
}

.srv-env-rack-wall--left {
    left: 0;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}

.srv-env-rack-wall--right {
    right: 0;
    mask-image: linear-gradient(270deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}

.srv-env-floor {
    position: absolute;
    left: -15%;
    right: -15%;
    bottom: -8%;
    height: 46%;
    transform: perspective(420px) rotateX(72deg);
    transform-origin: bottom center;
    opacity: 0.7;
}

.srv-env-floor::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 0%, rgba(0, 90, 140, 0.08) 35%, rgba(0, 60, 100, 0.14) 100%),
        repeating-linear-gradient(
            90deg,
            transparent 0 63px,
            rgba(0, 180, 220, 0.045) 63px 64px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0 31px,
            rgba(255, 255, 255, 0.02) 31px 32px
        );
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 28%, black 75%, transparent 100%);
}

.srv-env-aisle-glow {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(520px, 70vw);
    height: 55%;
    transform: translateX(-50%);
    background: radial-gradient(
        ellipse 55% 45% at 50% 100%,
        rgba(0, 140, 200, 0.1) 0%,
        rgba(0, 80, 140, 0.04) 45%,
        transparent 72%
    );
    pointer-events: none;
}

.srv-env-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.srv-env-glow--blue {
    width: 500px;
    height: 300px;
    bottom: 10%;
    left: 20%;
    background: rgba(0, 100, 200, 0.08);
}

.srv-env-glow--cyan {
    width: 400px;
    height: 250px;
    bottom: 5%;
    right: 15%;
    background: rgba(0, 180, 220, 0.06);
}

.srv-env-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image:
        radial-gradient(ellipse 85% 65% at 50% 72%, black 15%, transparent 78%),
        linear-gradient(0deg, black 0%, transparent 22%);
    opacity: 0.85;
}

.srv-rack {
    position: relative;
    width: min(820px, 94vw);
    margin: 0 auto;
    padding: 0 28px;
}

.srv-rack-rail {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 18px;
    background: linear-gradient(90deg, #1a1e24, #2d333d 30%, #1a1e24 70%, #12151a);
    border: 1px solid #3d4550;
    border-radius: 2px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.srv-rack-rail--left { left: 0; }
.srv-rack-rail--right { right: 0; }

.srv-rack-rail::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 8%;
    bottom: 8%;
    width: 6px;
    transform: translateX(-50%);
    background: repeating-linear-gradient(180deg, #0a0c0f 0 14px, #3a424f 14px 16px);
    border-radius: 1px;
}

.srv-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0;
}

.srv-unit--dim .srv-unit-face,
.srv-unit-mini-vent,
.srv-unit-badge {
    display: none;
}

.srv-unit--peer {
    position: relative;
    pointer-events: none;
    user-select: none;
}

.srv-unit--primary {
    position: relative;
    z-index: 2;
}

.srv-unit--online .srv-chassis {
    box-shadow:
        0 2px 0 #5a6575,
        0 20px 50px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(74, 222, 128, 0.08) inset,
        0 0 28px rgba(34, 197, 94, 0.06);
}

.srv-unit--halted .srv-chassis {
    box-shadow:
        0 2px 0 #5a6575,
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.srv-peer-status {
    color: rgba(34, 197, 94, 0.55);
    letter-spacing: 0.08em;
}

.srv-power-label--on {
    color: rgba(34, 197, 94, 0.65);
}

.srv-power-btn--lit .srv-power-btn-surface {
    border-color: rgba(34, 197, 94, 0.55);
    color: rgba(34, 197, 94, 0.85);
    box-shadow:
        0 0 12px rgba(34, 197, 94, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.srv-power-btn--booting .srv-power-btn-surface {
    border-color: rgba(245, 158, 11, 0.72);
    color: rgba(251, 191, 36, 0.95);
    box-shadow:
        0 0 14px rgba(245, 158, 11, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: srvPwrBtnBootPulse 1.1s ease-in-out infinite;
}

.srv-port--linked::after {
    box-shadow: 0 0 4px rgba(34, 197, 94, 0.45);
}

.srv-lcd-on {
    color: #4ade80;
    font-style: normal;
    text-shadow: 0 0 6px rgba(74, 222, 128, 0.45);
}

.srv-unit-led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1a2a1a;
    flex-shrink: 0;
}

.srv-unit-led--on {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.srv-unit-label {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.25);
    font-family: 'SF Mono', Consolas, monospace;
    letter-spacing: 0.08em;
}

.srv-unit-vents {
    flex: 1;
    height: 8px;
    background: repeating-linear-gradient(90deg, #1a1f26 0 3px, transparent 3px 5px);
    opacity: 0.5;
}

.srv-ear {
    position: absolute;
    top: 12px;
    bottom: 12px;
    width: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    z-index: 2;
}

.srv-ear-u {
    font-size: 0.42rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.28);
    font-family: 'SF Mono', Consolas, monospace;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-bottom: 4px;
}

.srv-ear--left { left: -22px; }
.srv-ear--right { right: -22px; }

.srv-ear span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid #4a5568;
    background: radial-gradient(circle at 35% 35%, #3d4550, #1a1e24);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.srv-chassis {
    position: relative;
    background:
        linear-gradient(180deg,
            #3a424f 0%, #2a3038 2%,
            #1e2329 8%, #161a20 50%,
            #12151a 92%, #0a0c0f 100%);
    border: 1px solid #4a5568;
    border-radius: 4px;
    box-shadow:
        0 2px 0 #5a6575,
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.srv-chassis-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
    pointer-events: none;
}

.srv-brand-emblem {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.srv-brand-emblem svg {
    display: block;
    width: 100%;
    height: 100%;
}

.srv-vent-identity {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 1px;
}

.srv-brand-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.04em;
    line-height: 1.05;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}

.srv-brand-model {
    font-size: 0.52rem;
    color: rgba(255, 255, 255, 0.34);
    letter-spacing: 0.08em;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

.srv-node-name {
    color: rgba(0, 229, 255, 0.95);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.28);
}

.srv-bottom-bar .srv-node-name {
    color: rgba(0, 215, 255, 0.9);
    font-weight: 800;
}

.srv-tag .srv-node-name {
    color: rgba(0, 215, 255, 0.75);
    font-weight: 700;
}

.srv-lcd-screen--halted .srv-node-name {
    color: #ff8a82 !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-shadow:
        0 0 6px rgba(255, 100, 90, 0.75),
        0 0 12px rgba(255, 60, 50, 0.35) !important;
}

.srv-lcd-screen--online .srv-node-name {
    color: #8dff8d !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-shadow:
        0 0 6px rgba(120, 255, 120, 0.8),
        0 0 12px rgba(77, 255, 77, 0.35) !important;
}

.srv-tag {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'SF Mono', Consolas, monospace;
    letter-spacing: 0.06em;
}

.srv-tag--express {
    color: rgba(0, 180, 220, 0.5);
}

.srv-rack-badge {
    display: inline-block;
    padding: 2px 8px;
    margin-bottom: 3px;
    font-size: 0.48rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: rgba(0, 180, 220, 0.75);
    border: 1px solid rgba(0, 180, 220, 0.25);
    border-radius: 2px;
    background: rgba(0, 100, 160, 0.08);
    font-family: 'SF Mono', Consolas, monospace;
}

.srv-front {
    padding: 8px 18px 10px;
}

.srv-drives {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.srv-drive {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.srv-drive-latch {
    height: 3px;
    background: linear-gradient(90deg, #3d4550, #6b7280, #3d4550);
    border-radius: 1px 1px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.srv-drive-face {
    position: relative;
    height: 30px;
    background: linear-gradient(180deg, #12161c 0%, #1a1f26 35%, #0a0c0f 100%);
    border: 1px solid #333a45;
    border-radius: 0 0 2px 2px;
    box-shadow:
        inset 0 3px 6px rgba(0, 0, 0, 0.65),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        0 2px 0 #0a0c0f;
    display: flex;
    align-items: center;
    padding: 0 5px;
    gap: 4px;
}

.srv-drive-handle {
    width: 4px;
    height: 16px;
    background: linear-gradient(90deg, #2d3540, #6b7280 45%, #2d3540);
    border-radius: 1px;
    flex-shrink: 0;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5);
}

.srv-drive-led {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #1a1a1a;
    flex-shrink: 0;
}

.srv-drive-num {
    flex: 1;
    text-align: center;
    font-size: 0.45rem;
    color: rgba(255, 255, 255, 0.15);
    font-family: 'SF Mono', Consolas, monospace;
}

.srv-lower {
    display: flex;
    gap: 12px;
    align-items: stretch;
    min-height: 68px;
}

.srv-vent-grille {
    flex: 1 1 55%;
    position: relative;
    min-width: 0;
    min-height: 58px;
    border: 1px solid #2a3038;
    border-radius: 2px;
    background: linear-gradient(180deg, #0a0c0f, #12161c);
    overflow: hidden;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.55);
}

.srv-vent-mesh {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 3px,
            rgba(255, 255, 255, 0.04) 3px,
            rgba(255, 255, 255, 0.04) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 7px,
            rgba(255, 255, 255, 0.03) 7px,
            rgba(255, 255, 255, 0.03) 8px
        );
    opacity: 0.9;
    pointer-events: none;
}

.srv-vent-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 10px;
    pointer-events: none;
}

.srv-vent-brand {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    max-width: 62%;
}

.srv-vent-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
}

.srv-server-model {
    position: absolute;
    right: 8px;
    bottom: 5px;
    font-size: 0.44rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    font-family: 'SF Mono', Consolas, monospace;
    text-transform: uppercase;
    line-height: 1;
    background: linear-gradient(
        180deg,
        #eef2f6 0%,
        #b8c2cc 18%,
        #6e7884 42%,
        #d2dae2 52%,
        #8a949e 72%,
        #c8d0d8 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.95)) drop-shadow(0 -0.5px 0 rgba(255, 255, 255, 0.12));
    opacity: 0.88;
    pointer-events: none;
    z-index: 2;
}

.srv-mgmt-strip {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    padding: 4px 0;
}

.srv-mid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.srv-lcd-panel {
    flex: 0 0 auto;
    width: 148px;
    max-width: 148px;
}

.srv-controls-group {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-shrink: 0;
}

.srv-power-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    background: linear-gradient(180deg, #14181f, #0a0c0f);
    border: 1px solid #2a3038;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.srv-lcd-bezel {
    position: relative;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.015) 0px,
            rgba(255, 255, 255, 0.015) 1px,
            transparent 1px,
            transparent 3px
        ),
        linear-gradient(180deg, #2c323b 0%, #1e242c 48%, #12161c 100%);
    border: 1px solid #3d4654;
    border-radius: 5px;
    padding: 8px 9px 11px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        inset 0 -2px 5px rgba(0, 0, 0, 0.65),
        0 2px 8px rgba(0, 0, 0, 0.45);
}

.srv-lcd-screw {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #6a7380, #2e3540 58%, #171c22);
    box-shadow:
        inset 0 0 1px rgba(0, 0, 0, 0.9),
        0 0 0 0.5px rgba(255, 255, 255, 0.06);
    z-index: 4;
}

.srv-lcd-screw--tl { top: 3px; left: 3px; }
.srv-lcd-screw--tr { top: 3px; right: 3px; }
.srv-lcd-screw--bl { bottom: 3px; left: 3px; }
.srv-lcd-screw--br { bottom: 3px; right: 3px; }

.srv-lcd-screen {
    position: relative;
    background: #010601;
    border-radius: 3px;
    padding: 7px 8px;
    min-height: 50px;
    overflow: hidden;
    border: 1px solid #0a140a;
    box-shadow:
        inset 0 3px 10px rgba(0, 0, 0, 0.95),
        inset 0 0 0 1px #0d180d,
        inset 0 0 0 2px #152515,
        0 0 0 1px rgba(0, 0, 0, 0.6);
}

.srv-lcd-screen::before {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid transparent;
    border-radius: 1px;
    pointer-events: none;
    z-index: 4;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.srv-lcd-screen--halted {
    background: #060101;
}

.srv-lcd-screen--halted::before {
    border-color: rgba(255, 55, 45, 0.55);
    box-shadow:
        0 0 6px rgba(255, 55, 45, 0.28),
        inset 0 0 10px rgba(255, 55, 45, 0.08);
}

.srv-lcd-screen--halted .srv-lcd-backlight {
    background:
        radial-gradient(ellipse 85% 75% at 48% 42%, rgba(160, 25, 20, 0.22) 0%, transparent 68%),
        radial-gradient(ellipse 110% 100% at 50% 50%, rgba(70, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.45) 100%);
    animation: srvLcdBacklightHalt 5s ease-in-out infinite alternate;
}

.srv-lcd-screen--halted .srv-lcd-pixel-grid {
    background-image:
        linear-gradient(rgba(80, 0, 0, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(80, 0, 0, 0.2) 1px, transparent 1px);
}

.srv-lcd-screen--booting {
    background: #060501;
}

.srv-lcd-screen--booting::before {
    border-color: rgba(245, 158, 11, 0.58);
    box-shadow:
        0 0 7px rgba(245, 158, 11, 0.32),
        inset 0 0 10px rgba(245, 158, 11, 0.1);
}

.srv-lcd-screen--booting .srv-lcd-backlight {
    background:
        radial-gradient(ellipse 85% 75% at 48% 42%, rgba(200, 120, 20, 0.22) 0%, transparent 68%),
        radial-gradient(ellipse 110% 100% at 50% 50%, rgba(90, 50, 0, 0.16) 0%, rgba(0, 0, 0, 0.45) 100%);
    animation: srvLcdBacklightBoot 1.4s ease-in-out infinite alternate;
}

.srv-lcd-screen--booting .srv-lcd-pixel-grid {
    background-image:
        linear-gradient(rgba(120, 70, 0, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 70, 0, 0.2) 1px, transparent 1px);
}

.srv-lcd-screen--booting .srv-lcd-display,
.srv-lcd-screen--booting .srv-lcd-line,
.srv-lcd-screen--booting .srv-lcd-line em {
    color: #f5a623 !important;
    text-shadow:
        0 0 4px rgba(245, 166, 35, 0.9),
        0 0 10px rgba(245, 158, 11, 0.4) !important;
}

.srv-lcd-screen--booting .srv-node-name {
    color: #ffc857 !important;
    text-shadow:
        0 0 6px rgba(255, 200, 87, 0.8),
        0 0 12px rgba(245, 158, 11, 0.35) !important;
}

.srv-lcd-screen--online::before {
    border-color: rgba(55, 210, 55, 0.42);
    box-shadow:
        0 0 5px rgba(55, 210, 55, 0.22),
        inset 0 0 10px rgba(55, 210, 55, 0.06);
}

.srv-lcd-screen--online .srv-lcd-backlight {
    background:
        radial-gradient(ellipse 85% 75% at 48% 42%, rgba(25, 130, 25, 0.2) 0%, transparent 68%),
        radial-gradient(ellipse 110% 100% at 50% 50%, rgba(0, 70, 0, 0.14) 0%, rgba(0, 0, 0, 0.45) 100%);
    animation: srvLcdBacklight 5s ease-in-out infinite alternate;
}

.srv-lcd-screen--online .srv-lcd-pixel-grid {
    background-image:
        linear-gradient(rgba(0, 50, 0, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 50, 0, 0.18) 1px, transparent 1px);
}

.srv-lcd-backlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: background 0.35s ease;
}

.srv-lcd-pixel-grid {
    position: absolute;
    inset: 0;
    background-size: 2px 2px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
    transition: background-image 0.35s ease;
}

.srv-lcd-scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    z-index: 2;
    animation: srvLcdScan 10s linear infinite;
}

.srv-lcd-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 3;
}

.srv-lcd-glass {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(128deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 20%, transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 38%);
    pointer-events: none;
    z-index: 5;
}

.srv-lcd-display {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: 'Share Tech Mono', 'SF Mono', Consolas, 'Courier New', monospace;
    font-size: 0.54rem;
    line-height: 1.35;
    letter-spacing: 0.05em;
    filter: contrast(1.08) brightness(1.02);
    transition: color 0.35s ease, text-shadow 0.35s ease;
}

.srv-lcd-screen--online .srv-lcd-display {
    color: #38d838;
    text-shadow:
        0 0 3px rgba(56, 216, 56, 0.85),
        0 0 9px rgba(56, 216, 56, 0.35);
}

.srv-lcd-screen--halted .srv-lcd-display,
.srv-lcd-screen--halted .srv-lcd-line,
.srv-lcd-screen--halted .srv-lcd-line em {
    color: #ff3b30 !important;
    text-shadow:
        0 0 4px rgba(255, 59, 48, 0.9),
        0 0 10px rgba(255, 59, 48, 0.4) !important;
}

.srv-lcd-screen--halted .srv-lcd-line--halt {
    font-weight: 700;
}

.srv-lcd-screen--halted .srv-lcd-off {
    animation: srvLcdDimBlink 2.2s step-end infinite;
}

.srv-lcd-line {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srv-lcd-line--halt {
    color: #ff2d22;
    font-weight: 700;
    text-shadow:
        0 0 4px rgba(255, 45, 34, 0.95),
        0 0 12px rgba(255, 45, 34, 0.45);
}

.srv-lcd-line--node {
    color: #3ee03e;
}

.srv-lcd-line--status {
    color: #36c836;
}

.srv-lcd-line--boot {
    color: #ffc857;
    text-shadow:
        0 0 4px rgba(255, 200, 87, 0.85),
        0 0 10px rgba(245, 158, 11, 0.35);
}

.srv-lcd-line--ok {
    color: #4dff4d;
    font-weight: 700;
    text-shadow:
        0 0 4px rgba(77, 255, 77, 0.85),
        0 0 12px rgba(77, 255, 77, 0.35);
}

.srv-lcd-off {
    color: #ff6b60;
    font-style: normal;
    text-shadow: 0 0 4px rgba(255, 107, 96, 0.55);
    animation: srvLcdDimBlink 2.2s step-end infinite;
}

.srv-lcd-content {
    position: relative;
    z-index: 2;
    font-family: 'Share Tech Mono', 'SF Mono', Consolas, 'Courier New', monospace;
    font-size: 0.62rem;
    line-height: 1.75;
    color: #2d8a2d;
    text-shadow: 0 0 8px rgba(45, 138, 45, 0.35);
}

.srv-lcd-row--alert {
    color: #ff453a;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 69, 58, 0.5);
    margin-bottom: 2px;
}

.srv-lcd-offline {
    color: #ff453a;
    font-style: normal;
    animation: srvBlink 1.5s step-end infinite;
}

.srv-lcd-cursor {
    animation: srvCursor 1s step-end infinite;
}

.srv-lcd-label {
    position: absolute;
    bottom: 1px;
    right: 7px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.4rem;
    color: rgba(175, 185, 195, 0.38);
    letter-spacing: 0.2em;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.85);
    z-index: 4;
}

.srv-io-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
}

.srv-ports {
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.srv-port {
    border-radius: 2px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7);
}

.srv-port--eth {
    width: 14px;
    height: 12px;
    background: linear-gradient(180deg, #c8a84e 0%, #8a7030 50%, #6a5520 100%);
    border: 1px solid #5a4a18;
    position: relative;
}

.srv-port--eth::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 2px;
    right: 2px;
    height: 4px;
    background: #1a1408;
    border-radius: 0 0 1px 1px;
}

.srv-port--mgmt {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #4a5568, #1a1e24);
    border: 1px solid #3d4550;
}

.srv-io-labels {
    display: flex;
    gap: 6px;
    font-size: 0.42rem;
    color: rgba(255, 255, 255, 0.2);
    font-family: 'SF Mono', Consolas, monospace;
    letter-spacing: 0.04em;
}

.srv-io-labels span {
    width: 14px;
    text-align: center;
}

.srv-io-labels span:last-child {
    width: 10px;
}

.srv-led-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.srv-led-item {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 10px;
}

.srv-led-item em {
    font-size: 0.38rem;
    font-style: normal;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
    font-family: 'SF Mono', Consolas, monospace;
    line-height: 1;
    min-width: 16px;
}

.srv-sled {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #141414;
    border: 1px solid #2a2a2a;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
    flex-shrink: 0;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.srv-sled--red {
    background: #ff453a;
    border-color: #cc2e24;
    box-shadow: 0 0 6px rgba(255, 69, 58, 0.65);
    animation: srvPwrPulse 2s ease-in-out infinite;
}

.srv-sled--green {
    background: #22c55e;
    border-color: #16a34a;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.65);
    animation: none;
}

.srv-sled--amber {
    background: #f59e0b;
    border-color: #d97706;
    box-shadow: 0 0 5px rgba(245, 158, 11, 0.55);
    animation: srvHddFlicker 0.25s step-end infinite;
}

.srv-power-btn {
    position: relative;
    width: 44px;
    height: 22px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.srv-power-btn-surface {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 22px;
    border-radius: 2px;
    background: linear-gradient(180deg, #3d4550 0%, #1a1f26 55%, #0f1216 100%);
    border: 1px solid #5a6575;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -2px 4px rgba(0, 0, 0, 0.35);
    transition: all 0.2s ease;
}

.srv-power-btn:hover .srv-power-btn-surface {
    border-color: #4ade80;
    color: #4ade80;
    box-shadow:
        0 2px 10px rgba(74, 222, 128, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.srv-power-btn:active .srv-power-btn-surface {
    transform: translateY(1px);
    box-shadow:
        0 1px 4px rgba(0, 0, 0, 0.5),
        inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.srv-power-label {
    font-size: 0.42rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.28);
}

.srv-usb-ports {
    display: flex;
    gap: 4px;
    margin-top: 2px;
}

.srv-usb-ports span {
    width: 8px;
    height: 4px;
    background: #1a1e24;
    border: 1px solid #3d4550;
    border-radius: 1px;
}

.srv-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 20px;
    background: linear-gradient(180deg, #0f1216, #0a0c0f);
    border-top: 1px solid #2a3038;
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.22);
    letter-spacing: 0.1em;
    font-family: 'SF Mono', Consolas, monospace;
}

.srv-boot-hint {
    color: rgba(0, 180, 220, 0.45);
    animation: srvHintPulse 3s ease-in-out infinite;
}

@media (max-width: 640px) {
    .srv-lower {
        flex-direction: column;
        min-height: 0;
    }

    .srv-vent-grille {
        min-height: 48px;
    }

    .srv-vent-overlay {
        padding: 6px 8px;
    }

    .srv-brand-emblem {
        width: 20px;
        height: 20px;
    }

    .srv-brand-name {
        font-size: 0.62rem;
    }

    .srv-brand-model {
        font-size: 0.46rem;
    }

    .srv-server-model {
        font-size: 0.38rem;
        right: 6px;
        bottom: 4px;
        letter-spacing: 0.1em;
    }

    .srv-mgmt-strip {
        width: 100%;
        justify-content: space-between;
    }

    .srv-io-block {
        display: none;
    }

    .srv-drives {
        grid-template-columns: repeat(4, 1fr);
    }

    .srv-rack-badge,
    .srv-boot-hint {
        display: none;
    }
}

body.login-powered-off-active .login-mac-container,
body.login-powered-off-active .login-mac-footer,
body.login-powered-off-active .login-mac-topbar,
body.login-powered-off-active .login-mac-overlay {
    visibility: hidden;
}

body.login-powered-off-active {
    overflow: hidden !important;
    height: 100vh;
}

body.login-powered-off-active .login-os-powered-off {
    z-index: 11000;
}

.srv-hub-footer {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    background: none;
    border: none;
    pointer-events: none;
}

.srv-hub-footer__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 18px;
}

.srv-hub-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.srv-hub-footer__logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: #22d3ee;
    border-radius: 8px;
    background: linear-gradient(145deg, #0a1628, #0f1a2e);
    box-shadow:
        0 0 0 1px rgba(34, 211, 238, 0.38),
        0 0 14px rgba(34, 211, 238, 0.12);
}

.srv-hub-footer__logo::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.22), rgba(139, 92, 246, 0.12), rgba(34, 211, 238, 0.08));
    filter: blur(6px);
    z-index: -1;
}

.srv-hub-footer__logo svg {
    width: 15px;
    height: 15px;
}

.srv-hub-footer__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1;
    white-space: nowrap;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.01em;
}

.srv-hub-footer__vendor {
    font-weight: 700;
    color: #f1f5f9;
}

.srv-hub-footer__product {
    color: #94a3b8;
    font-weight: 400;
}

@media (max-width: 640px) {
    .srv-hub-footer__inner {
        padding: 10px 12px;
    }

    .srv-hub-footer__text {
        font-size: 0.78rem;
    }

    .srv-hub-footer__logo {
        width: 24px;
        height: 24px;
    }

    .srv-hub-footer__logo svg {
        width: 13px;
        height: 13px;
    }
}

body.login-black-active {
    background: #000 !important;
    background-image: none !important;
}

body.login-black-active .login-mac-container,
body.login-black-active .login-mac-footer,
body.login-black-active .login-mac-topbar,
body.login-black-active .login-mac-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.login-os-black-screen {
    position: fixed;
    inset: 0;
    z-index: 10950;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.login-os-black-screen.is-visible {
    opacity: 1;
    pointer-events: all;
}

.login-os-black-screen.is-instant {
    transition: none;
    opacity: 1;
}

body.login-black-active .login-os-power-overlay,
body.login-black-active .login-os-boot-overlay {
    background: transparent;
    z-index: 11050;
}

.login-os-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 11000;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: loginFadeIn 0.2s ease;
}

.login-os-modal {
    width: 320px;
    background: rgba(40, 40, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 24px 22px 18px;
    text-align: center;
    color: #fff;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.login-os-modal-icon {
    font-size: 40px;
    color: #ff9f0a;
    margin-bottom: 12px;
}

.login-os-modal-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-os-modal-text {
    font-size: 0.82rem;
    opacity: 0.75;
    line-height: 1.5;
    margin-bottom: 20px;
}

.login-os-modal-actions {
    display: flex;
    gap: 10px;
}

.login-os-modal-btn {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.login-os-modal-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.login-os-modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

.login-os-modal-btn-danger {
    background: #ff453a;
    color: #fff;
}

.login-os-modal-btn-danger:hover {
    background: #ff6961;
}

@keyframes loginFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes loginSleepBreathe {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

@keyframes loginSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes loginPoweredOffIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes loginPoweredOffContentIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes loginServerSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes srvSceneIn {
    from {
        opacity: 0;
        transform: translateY(40px) rotateX(8deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

@keyframes srvBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

@keyframes srvLcdBacklight {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

@keyframes srvLcdBacklightHalt {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.82; }
}

@keyframes srvLcdBacklightBoot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.86; }
}

@keyframes srvPwrBtnBootPulse {
    0%, 100% {
        box-shadow:
            0 0 10px rgba(245, 158, 11, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow:
            0 0 18px rgba(245, 158, 11, 0.42),
            inset 0 1px 0 rgba(255, 255, 255, 0.14);
    }
}

@keyframes srvLcdScan {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

@keyframes srvLcdDimBlink {
    0%, 68%, 100% { opacity: 1; }
    69%, 99% { opacity: 0.45; }
}

@keyframes srvCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes srvSlideIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes srvFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes srvPwrPulse {
    0%, 100% { opacity: 0.75; box-shadow: 0 0 8px rgba(255, 69, 58, 0.6); }
    50% { opacity: 1; box-shadow: 0 0 12px rgba(255, 69, 58, 0.85); }
}

@keyframes srvHddFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

@keyframes srvPowerGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.08); opacity: 1; }
}

@keyframes srvHintPulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.75; }
}

@keyframes loginPowerRingPulse {
    0% {
        transform: scale(0.85);
        opacity: 0.6;
    }
    70%, 100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@keyframes loginPoweredOffHint {
    0%, 100% { opacity: 0.38; }
    50% { opacity: 0.62; }
}
