/* Xianxia Theme Admin Login */
body {
    background-size: cover;
    color: #e4e6eb;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
}

body::before {
    content: '';
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(15, 20, 25, 0.7); /* Dark overlay */
    z-index: -1;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px; /* Add padding for mobile edges */
    box-sizing: border-box;
}

.auth-wrapper .row {
    width: 100%;
    margin: 0; /* Remove negative margins from row inside centered wrapper */
}

/* Custom Login/ChangePassword UI */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    width: 100%;
}
.login-card {
    background: rgba(20, 20, 35, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    color: #e0e0e0;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    margin: auto;
}
.login-card .nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}
.login-card .nav-link {
    color: #888;
    border: none;
    padding: 18px 10px;
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1.1rem;
    transition: all 0.3s;
    border-radius: 0;
}
.login-card .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.login-card .nav-link.active {
    color: #ffcc00;
    background: transparent;
    border-bottom: 3px solid #ffcc00;
}
.login-logo-container {
    padding: 30px 20px 10px 20px;
    text-align: center;
}
.login-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.4));
}
.qr-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
}
.qr-item {
    text-align: center;
    width: 160px;
}
.qr-image {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: #fff;
    padding: 5px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}
.qr-image:hover {
    transform: scale(1.05);
    border-color: #ffcc00;
}
.support-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    padding: 14px;
    background: linear-gradient(135deg, #0088cc, #005588);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}
.support-link:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
}
.login-form-wrapper {
    padding: 20px 35px 35px 35px;
}
/* Hide the default h1 and other admin specific login decorations if possible */
.login-form-wrapper h1, #login-content h1 {
    display: none !important;
}
.validation-summary-errors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
