:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
}
body {
    background-image: url('/images/loginPage/bg/bg.png'); /* 替换为你的背景图片路径 */
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    margin: 0;
    position: relative;
}

/* 毛玻璃遮罩层 */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.alert-info {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-radius: 15px;
    background: linear-gradient(145deg, #e3f2fd, #bbdefb);
    border: 1px solid #90caf9;
}

.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* 优化登录容器样式 */
.login-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin: 2rem auto;
    width: 100%;
    max-width: 500px;
}
.login-container {
    max-width: 1000px;
    width: 90%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.captcha-refresh {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.captcha-refresh:hover {
    transform: rotate(90deg);
}

.alert {
    animation: fadeIn 0.3s ease-in;
}

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

.user-info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.user-avatar-container {
    min-width: 100px;
    margin-right: 1.5rem;
}

.user-avatar {
    font-size: 4rem;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-avatar-update {
    font-size: 4rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-section {
    margin-top: 1.5rem;
}

.info-item {
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.info-label {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.info-label i {
    margin-right: 0.5rem;
}

.info-content {
    font-weight: 500;
    word-break: break-word;
}

.time-badge {
    background: #ffffff;
    padding: 0;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#issuer {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .user-avatar {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }

    .user-avatar-container {
        min-width: 80px;
    }
}