/* 用户管理页面自定义样式 */

/* Logo样式 */
.logo-topbar .logo-lg img {
    height: 70px !important;
    width: auto !important;
}

.logo-topbar .logo-sm img {
    height: 60px !important;
    width: auto !important;
}

/* 用户头像过渡效果 */
#user_avatar {
    transition: opacity 0.3s ease-in-out;
}

/* 头部渐变背景 */
.header-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 添加用户按钮样式 */
.btn-add-user {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    box-shadow: 0 4px 15px 0 rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.btn-add-user:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(102, 126, 234, 0.4);
}

/* 状态文本样式 */
.status-text {
    font-weight: bold;
}

/* 向导容器样式 */
.wizard-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 导航Pills样式 */
.nav-pills .nav-link {
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 600;
    margin: 0 5px;
    background: rgba(255,255,255,0.7);
    color: #6c757d;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 15px 0 rgba(102, 126, 234, 0.3);
}

/* 表单样式 */
.form-control, .form-select {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.9);
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    background: white;
}

/* 按钮步骤样式 */
.btn-step {
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-step:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 密码强度指示器 */
#password-strength-container {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

#password-strength-status {
    flex-shrink: 1;
    flex-basis: auto;
    max-width: 150px;
    font-size: 0.9em;
    font-weight: 600;
}

#password-strength-indicator {
    display: flex;
    flex-grow: 0.3;
    flex-shrink: 1;
    flex-basis: auto;
    max-width: 200px;
    margin-left: 10px;
}

.strength-bar {
    height: 8px;
    border: none;
    margin-right: 3px;
    background-color: #e9ecef;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.strength-bar:last-child {
    margin-right: 0;
}

/* 标签样式 */
.col-form-label {
    font-weight: 600;
    color: #495057;
}

/* 文本样式 */
.text-danger {
    font-weight: bold;
}

.text-muted {
    font-size: 0.875rem;
    margin-top: 5px;
}

/* 完成页面样式 */
.completion-container {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
}

.completion-container h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.completion-container h3 {
    margin-bottom: 1rem;
}

/* 卡片样式 */
.card {
    border-radius: 20px;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* 表格样式优化 */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
}

/* 按钮组样式 */
.btn-group .btn {
    border-radius: 8px;
    margin: 0 2px;
}

/* 模态框样式优化 */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .wizard-container {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .btn-add-user {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .nav-pills .nav-link {
        padding: 8px 15px;
        margin: 2px;
        font-size: 0.875rem;
    }
}