/* Post-login welcome — Windows XP “To begin, click your user name” style */

.xp-login-welcome {
    position: fixed;
    inset: 0;
    z-index: 11050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: Tahoma, 'Microsoft Sans Serif', 'Microsoft JhengHei', sans-serif;
}
.xp-login-welcome.active {
    display: flex;
}
/* Only visible on the XP desktop — avoids a flash when minimizing from typing */
body:not(.xp-minimized):not(.xp-minimizing) .xp-login-welcome.active {
    display: none !important;
}
.xp-login-welcome__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 60, 0.42);
}
.xp-login-welcome__wrap {
    position: relative;
    width: min(520px, 96vw);
    filter: drop-shadow(4px 6px 18px rgba(0, 0, 0, 0.45));
}

/* Main XP login strip */
.xp-login-welcome__panel {
    display: flex;
    align-items: stretch;
    min-height: 132px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow:
        0 0 0 1px #1a4a8c,
        2px 3px 12px rgba(0, 0, 0, 0.35);
    background: linear-gradient(180deg, #6eb6e8 0%, #4a8fd4 28%, #3a7ec5 55%, #2e6db5 100%);
}

.xp-login-welcome__brand {
    flex: 1 1 42%;
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}
.xp-login-welcome__logo {
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: #fff;
    object-fit: contain;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.35);
}

.xp-login-welcome__ms-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    line-height: 1.1;
}
.xp-login-welcome__ms-big {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
    letter-spacing: -0.5px;
}
.xp-login-welcome__ms-edition {
    font-size: 14px;
    font-weight: 700;
    color: #ff8c00;
    font-style: italic;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.xp-login-welcome__tagline {
    margin: 8px 0 0;
    font-size: 12px;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.xp-login-welcome__divider {
    width: 2px;
    flex-shrink: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(180, 210, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.2) 100%);
}

.xp-login-welcome__usercol {
    flex: 1 1 58%;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.xp-login-welcome__user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    background: linear-gradient(180deg, #1e4f9a 0%, #153d7a 45%, #0f2f62 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.25);
    cursor: default;
}
.xp-login-welcome__avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, #6eb9ff, #2b579a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background-size: cover;
    background-position: center;
}
.xp-login-welcome__info {
    min-width: 0;
    flex: 1;
}
.xp-login-welcome__name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.xp-login-welcome__status {
    margin-top: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
}

.xp-login-welcome__foot {
    margin-top: 14px;
    text-align: center;
}
.xp-login-welcome__ok {
    min-width: 100px;
    padding: 5px 22px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid #003c74;
    background: linear-gradient(180deg, #fff 0%, #ece9d8 45%, #d6d2c4 100%);
    box-shadow: 1px 1px 0 #fff inset;
    color: #000;
}
.xp-login-welcome__ok:hover {
    background: linear-gradient(180deg, #fff 0%, #f3f0e6 45%, #e4e0d2 100%);
}
.xp-login-welcome__ok:active {
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* ----- Simple (flat) desktop theme ----- */
.xp-login-welcome--simple .xp-login-welcome__backdrop {
    background: rgba(40, 40, 40, 0.35);
}
.xp-login-welcome--simple .xp-login-welcome__panel {
    background: linear-gradient(180deg, #fafafa 0%, #e8e6e1 55%, #d4d0c8 100%);
    border-color: #fff;
    box-shadow:
        0 0 0 1px #9a9a9a,
        2px 3px 12px rgba(0, 0, 0, 0.2);
}
.xp-login-welcome--simple .xp-login-welcome__ms-big {
    color: #1a1a1a;
    text-shadow: none;
}
.xp-login-welcome--simple .xp-login-welcome__tagline {
    color: #333;
    text-shadow: none;
}
.xp-login-welcome--simple .xp-login-welcome__divider {
    background: linear-gradient(180deg, #fff 0%, #b0b0b0 50%, #d8d8d8 100%);
}
.xp-login-welcome--simple .xp-login-welcome__user {
    background: linear-gradient(180deg, #5b9bd5 0%, #2b6cb0 50%, #1a4f8c 100%);
    border-color: rgba(255, 255, 255, 0.35);
}

/* ----- Classic / Harbour (rolling hills / harbour wallpaper) ----- */
.xp-login-welcome--classic .xp-login-welcome__panel,
.xp-login-welcome--harbour .xp-login-welcome__panel {
    background: linear-gradient(180deg, #7ec0ef 0%, #5a9fd4 22%, #3a7ec5 58%, #2868b0 100%);
}
.xp-login-welcome--harbour .xp-login-welcome__user {
    background: linear-gradient(180deg, #1a3d6e 0%, #0f2848 100%);
}
