/* Custom Styles */
body {
    background-image: url('../img/login-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Ensure background stays fixed */
    height: 100vh;
    margin: 0; /* Reset margin */  
}

.oai-wrapper {
    display: flex; /* Ensure flexbox is used */
    justify-content: center !important;
    align-items: center !important;
    height: 100%;
    width: 100%;  
    background-color: rgba(0, 0, 0, 0.2); /* Mask layer with transparency */
}

main.login {
    flex: 0 0 auto !important;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center; /* Center vertically if needed inside main */
}

/* Modal/Popup Style */
._prompt-box-outer {
    background-color: #fff; /* Black background with slight transparency */
    color: white; /* White text */
    border-radius: 20px; /* Match user's inline style preference */
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.8) !important; Stronger shadow */
    padding: 40px 30px; /* Increased padding */
    max-width: 400px; /* Slightly wider */
    width: 90%;
    margin: auto;
    position: relative;
    /* overflow: hidden; Removed to allow absolute elements to overflow */
}

/* Link Style */
a {
    color: #333 !important; /* White links */
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    color: #333 !important;
}

/* 状态标签与时间显示样式 */
.login-status-container {
    position: absolute;
    bottom: 0;
    right: -250px;
    z-index: 999;
    text-align: left;
    width: 230px;
    display: none; /* 默认隐藏，由JS控制显示 */
}

.status-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.status-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 10px;
    border: 1px solid;
    width: fit-content;
    font-size: 14px;
    /* font-weight: bold; */
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    font-weight: normal;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 60%);
}

.status-time-box {
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid;
    width: fit-content;
    text-align: left;
}

.status-time-hm {
    font-size: 24px;
    margin-bottom: 5px;
}

.status-time-ymd {
    font-size: 18px;
}

/* 移动端状态标签排列 */
@media screen and (max-width: 768px) {
    .login-status-container {
        position: absolute;
        top: 100%;
        bottom: auto;
        margin-top: 5px;
        right: 0;
        left: 0;
        width: 100%;
        text-align: center;
    }

    /* 移动端仅展示 title_2 和 content_2 */
    #row_1_wrapper, 
    #time_wrapper {
        display: none !important;
    }

    .status-wrapper {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        justify-content: center;
        margin-top: 0;
    }
}

