/* 系统管理页面 - 科技现代风格 */

/* 卡片容器样式 */
.system-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(168, 85, 247, 0.03) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 0 30px rgba(99, 102, 241, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.system-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 0 40px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.system-card:hover::before {
    opacity: 1;
}

/* 标题样式 */
.system-card-title {
    margin: 0 0 28px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 16px;
}

.system-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1 0%, #a855f7 100%);
    border-radius: 2px;
}

.system-card-title i {
    font-size: 28px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.system-card-title span {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 表单组样式 */
.system-form-group {
    margin-bottom: 24px;
    position: relative;
}

.system-form-group:last-child {
    margin-bottom: 0;
}

.system-form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.system-form-hint {
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 400;
    margin-left: 4px;
}

/* 输入框样式 */
.system-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(99, 102, 241, 0.15);
    border-radius: 10px;
    background: var(--color-bg-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.system-input:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.system-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: var(--color-bg-primary);
}

.system-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(99, 102, 241, 0.15);
    border-radius: 10px;
    background: var(--color-bg-primary);
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.system-textarea:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.system-textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* 提示文字 */
.system-help-text {
    color: var(--color-text-secondary);
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.system-help-text i {
    font-size: 14px;
}

/* 复选框样式 */
.system-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.system-checkbox-label:hover {
    background: rgba(99, 102, 241, 0.05);
}

.system-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #6366f1;
}

/* 按钮增强样式 */
.system-btn-password {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.system-btn-password:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.system-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.system-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* 数字输入框特殊样式 */
.system-input[type="number"] {
    font-variant-numeric: tabular-nums;
}

/* 响应式 */
@media (max-width: 768px) {
    .system-card {
        padding: 20px;
        margin-bottom: 16px;
    }

    .system-card-title {
        font-size: 18px;
    }
}
