/* Boot Screen */
#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 20000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.boot-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.boot-logo {
    width: 200px;
}

.loading-bar {
    width: 200px;
    height: 15px;
    border: 2px solid #555;
    border-radius: 4px;
    padding: 2px;
    position: relative;
    overflow: hidden;
}

.loading-progress {
    width: 30px;
    height: 100%;
    background: linear-gradient(to right, transparent, #245EDC, #5CA3FF, #245EDC, transparent);
    position: absolute;
    left: -40px;
    animation: bootLoad 2s infinite linear;
}

@keyframes bootLoad {
    0% {
        left: -40px;
    }

    100% {
        left: 210px;
    }
}

/* Login Screen */
#login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #00309C, #0066CC);
    z-index: 19000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-container {
    display: flex;
    align-items: center;
    width: 60%;
    max-width: 800px;
}

.login-left {
    flex: 1;
    text-align: right;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.login-logo {
    width: 150px;
    margin-bottom: 20px;
}

.login-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
}

.login-divider {
    width: 2px;
    height: 300px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.login-right {
    flex: 1;
    padding-left: 30px;
}

.user-account {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.2s;
}

.user-account:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 64px;
    height: 64px;
    border: 2px solid white;
    border-radius: 4px;
    margin-right: 15px;
    background: #D5E4F2;
}

.user-info {
    color: white;
}

.user-name {
    font-size: 20px;
    font-weight: bold;
}

.user-status {
    font-size: 12px;
    opacity: 0.8;
}

.login-footer {
    position: absolute;
    bottom: 50px;
    left: 50px;
}

.footer-btn {
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-btn:hover {
    opacity: 1;
}

.footer-btn img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
    /* Make icon white */
}

/* Shutdown Dialog */
#shutdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 21000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shutdown-dialog {
    width: 400px;
    background: linear-gradient(to bottom, #00309C, #0066CC);
    border: 2px solid white;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.shutdown-header {
    padding: 10px 15px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.shutdown-body {
    display: flex;
    justify-content: space-around;
    padding: 30px 10px;
    background: linear-gradient(to bottom, #5CA3FF, #00309C);
}

.shutdown-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: white;
    gap: 5px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.shutdown-option:hover {
    opacity: 1;
}

.shutdown-icon {
    width: 40px;
    height: 40px;
    background-size: cover;
    border-radius: 50%;
    border: 2px solid white;
}

.shutdown-icon.standby {
    background-color: #E09E36;
}

.shutdown-icon.turnoff {
    background-color: #C52814;
}

.shutdown-icon.restart {
    background-color: #38A755;
}

.shutdown-footer {
    padding: 10px;
    background-color: #00309C;
    display: flex;
    justify-content: flex-end;
}

.cancel-btn {
    padding: 5px 15px;
    cursor: pointer;
}